Changes to /etc/casper.conf are lost
Bug #384061 reported by
phl
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
casper (Ubuntu) |
Fix Released
|
Undecided
|
Colin Watson |
Bug Description
Binary package hint: casper
After using a snapshot casper remember in at the end of /etc/casper.conf for resync at halt/reboot time. But this changes are lost b/c the file is not copied.
FIX:
in casper, after line
cp casper.log "${rootmnt}
add this line
cp etc/casper.conf "${rootmnt}/etc/"
To post a comment you must log in.
Looks sensible, thanks. I added an if [ -f /etc/casper.conf ] guard.