Allow for different locations of the cache image and iso
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
TestDrive |
Fix Released
|
Wishlist
|
Dustin Kirkland | ||
testdrive (Ubuntu) |
Fix Released
|
Wishlist
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
Wishlist
|
Dustin Kirkland |
Bug Description
Currently testdrive will allocate the image and ISO directories based on the setting of CACHE. Although this is not restrictive (users may soft-link different paths), it would be ideal for the casual tester that different locations could be set directly in the configuration file(s). This can be directly use to allocate the image off /dev/shm.
As such I added CACHE_ISO and CACHE_IMG. If not specified, they will default to CACHE/iso and CACHE/img, respectively (current behaviour).
Given the idea of running the image off memory (/dev/shm), I also added CLEAN_IMG to forcefully remove the image at the end of run. If *not* specified as True *and* if CACHE_IMG points to /dev/shm, then CLEAN_IMG will be set True.
Related branches
- Dustin Kirkland : Pending requested
-
Diff: 143 lines (+52/-18)2 files modifiedtestdrive (+40/-18)
testdriverc (+12/-0)
Changed in testdrive: | |
status: | New → In Progress |
importance: | Undecided → Wishlist |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in testdrive (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Wishlist |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in testdrive: | |
status: | In Progress → Fix Released |
Changed in testdrive (Ubuntu): | |
status: | In Progress → Fix Committed |
This bug was fixed in the package testdrive - 1.31-0ubuntu1
---------------
testdrive (1.31-0ubuntu1) lucid; urgency=low
[ Carlos de-Avillez ]
* testdrive, testdriverc: add two new configurate variables for
changing the iso and img cache directories, LP: #539892
-- Dustin Kirkland <email address hidden> Mon, 15 Mar 2010 16:26:26 -0500