Skip to content

Commit

Permalink
Merging casper 1.223.
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-baumann committed May 11, 2010
1 parent 62465f3 commit 484c21b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/ChangeLog.casper
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 6 additions & 0 deletions hooks/live
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
8 changes: 8 additions & 0 deletions scripts/live-bottom/41apt_cdrom
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 484c21b

Please sign in to comment.