Allow casper to use a squashfs filesystem within an arbitrary path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Agostino Russo | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Bug 207137, Wubi's ISO image creation from a CD process failing, seems to be biting a fair number of users. A way around having to use the cd2iso tool and thus avoid the bug would be to copy only the squashfs. This change to casper implements the necessary code on the Ubuntu side for that.
check_dev in scripts/casper could be made more flexible if it was possible to look for a casper fs (is_casper_path) within an arbitrary path. At the moment check_dev supports scanning either devices or ISOs. This could be implemented with the following snippet:
if [ -d "${devname}" ]; then
mount -o bind $devname $mountpoint
if is_casper_path $mountpoint; then
echo $mountpoint
return 0
endif
fi
TEST CASE:
"On my test system I couldn't get Wubi to install using the cd-rw drive in the machine. Since then I've added a dvd-rw and wubi installs flawlessly.
The cd installs to the part at the end of creating the image file at which point it throws up the error "Could not access cd, please make sure other applications are not using it and try again.""
As reported by davmor2 of the QA team.
A debdiff of the uploaded patch can be found here:
http://
Related branches
- No reviews requested
Changed in casper: | |
assignee: | nobody → ago |
status: | New → Confirmed |
Changed in casper: | |
milestone: | none → ubuntu-8.04.1 |
status: | New → Fix Committed |
This bug was fixed in the package casper - 1.132
---------------
casper (1.132) intrepid; urgency=low
[ Colin Watson ]
* Switch default unionfs implementation to aufs.
[ Agostino Russo ]
* Do not scan only vfat volumes when looking for cow devices (LP: #230703)
* Allow casper to use a squashfs filesystem within an arbitrary path (LP:
#230716, #207137)
-- Evan Dandrea <email address hidden> Wed, 28 May 2008 15:01:30 -0400