changes made with shell are not sticking

Asked by ryanr

I am making a gnome CD with ubuntu-7.04. I removed and added lots of packages, that worked fine. But I also made lots of changes using the UCK shell ("Run console application").
I scp'd a directory into /root - when I booted from live cd /root was empty
I changed /etc/casper.conf - didn't stick
edited files in /usr/share/initramfs-tools/scripts/casper-bottom - also didn't stick
i typed "exit" and then did Continue Build where it made the iso.

I have tried multiple times, any ideas?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Customization Kit Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Krzysztof Lichota (krzysiek-launchpad-ubuntu-com) said :
#1

/root directory is restored when cleaning root filesystem, to remove any artifacts from running apps inside chroot environment. You can disable it - edit file libraries/remaster-live-cd.sh (function clean_rootfs()).

As for /etc files - they should not be restored, but I do not have file /etc/casper.conf, so I do not know where it comes from. Maybe this package is reinstalled later on when you update packages?

Modifying /usr/share/initramfs-tools/scripts/casper-bottom file does not make sense, because initrd is rebuilt only if kernel changes, you should write your own customize_initrd script and use batch building instead of UCK GUI.

Can you help with this problem?

Provide an answer of your own, or ask ryanr for more information if necessary.

To post a message you must log in.