diff options
| author | Daniel Baumann <daniel@debian.org> | 2010-05-01 13:53:29 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:09 +0100 |
| commit | 6112649bf507da5d58ae1841bc1fe2f61e90a30c (patch) | |
| tree | aa8a1099280b1962187f1ac97fee3d1223b53d24 | |
| parent | 45bcf5aa5ac1744e8c48ae4d7bf9529d0e3ede79 (diff) | |
| download | live-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.tar.gz live-boot-6112649bf507da5d58ae1841bc1fe2f61e90a30c.zip | |
Merging casper 1.223.
| -rw-r--r-- | docs/ChangeLog.casper | 10 | ||||
| -rwxr-xr-x | hooks/live | 6 | ||||
| -rwxr-xr-x | scripts/live-bottom/41apt_cdrom | 8 |
3 files changed, 24 insertions, 0 deletions
diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper index bc8bbb0..5552264 100644 --- a/docs/ChangeLog.casper +++ b/docs/ChangeLog.casper @@ -1,3 +1,13 @@ +casper (1.223) lucid; urgency=low + + * Bind-mount /dev, /proc, and /sys into /root while running apt-cdrom. + * Copy /lib/udev/rules.d/60-cdrom_id.rules into the initramfs to go with + /lib/udev/cdrom_id, so that apt-cdrom will be able to find ID_CDROM=1 + entries when we run it. This should stop update-notifier from + repeatedly popping up during the live session. + + -- Colin Watson <cjwatson@ubuntu.com> Tue, 23 Feb 2010 01:35:30 +0000 + casper (1.222) lucid; urgency=low * scripts/casper-bottom/47une_ubiquity: @@ -69,6 +69,12 @@ do fi done +if [ -e /lib/udev/rules.d/60-cdrom_id.rules ] +then + mkdir -p ${DESTDIR}/lib/udev/rules.d + cp -p /lib/udev/rules.d/60-cdrom_id.rules ${DESTDIR}/lib/udev/rules.d +fi + # Handling other stuff # Configuration: keymap (usefull when using encryption) diff --git a/scripts/live-bottom/41apt_cdrom b/scripts/live-bottom/41apt_cdrom index 00606d5..0b3f79b 100755 --- a/scripts/live-bottom/41apt_cdrom +++ b/scripts/live-bottom/41apt_cdrom @@ -33,7 +33,15 @@ log_begin_msg "Adding APT-CDROM source" if [ -d /root/cdrom ] then + mount -n -o bind /sys /root/sys + mount -n -o bind /proc /root/proc + mount -n -o bind /dev /root/dev + chroot /root apt-cdrom -m add + + umount /root/dev + umount /root/proc + umount /root/sys fi log_end_msg |
