[SCM] live-initramfs branch, master, updated. 1.157.4-1-26-gd4527fc
Daniel Baumann
daniel at debian.org
Mon Oct 26 12:52:25 UTC 2009
The following commit has been merged in the master branch:
commit d4527fc75fc13eca47b886441c5880ba63540c71
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Oct 26 13:51:13 2009 +0100
Merging casper 1.172.
diff --git a/docs/ChangeLog.casper b/docs/ChangeLog.casper
index 9ca7b6f..314c55b 100644
--- a/docs/ChangeLog.casper
+++ b/docs/ChangeLog.casper
@@ -1,3 +1,10 @@
+casper (1.172) jaunty; urgency=low
+
+ * 43disable_updateinitramfs: The /cdrom mount has been moved to
+ /root/cdrom by the time this script runs, so check that instead.
+
+ -- Colin Watson <cjwatson at ubuntu.com> Thu, 09 Apr 2009 18:30:29 +0100
+
casper (1.171) jaunty; urgency=low
* Set MP_QUIET to -q instead of -Q on Ubuntu as well, and not just for
diff --git a/scripts/live-bottom/43disable_updateinitramfs b/scripts/live-bottom/43disable_updateinitramfs
index 2b60315..6ceeacf 100755
--- a/scripts/live-bottom/43disable_updateinitramfs
+++ b/scripts/live-bottom/43disable_updateinitramfs
@@ -30,8 +30,8 @@ chroot /root dpkg-divert --add --rename --quiet \
/usr/sbin/update-initramfs
# Running off a USB disk or other writable media.
-if [ -w /cdrom ] && \
- ! grep -q '^[^ ]* /cdrom [^ ]* [^ ]*\<ro\>' /proc/mounts; then
+if [ -w /root/cdrom ] && \
+ ! grep -q '^[^ ]* /root/cdrom [^ ]* [^ ]*\<ro\>' /proc/mounts
then
cat > /root/usr/sbin/update-initramfs << 'EOF'
--
live-initramfs
More information about the debian-live-changes
mailing list