diff options
| author | Daniel Baumann <daniel@debian.org> | 2009-10-26 13:47:08 +0100 | 
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:06 +0100 | 
| commit | 3f682b4344b8b6fb0e8478ce684783f183c4802d (patch) | |
| tree | 5386ebeb495784219c427efb1248fa7a2560de1f /scripts | |
| parent | c61a099f9f482a9824ea71713e91c8637ef5cc99 (diff) | |
| download | live-boot-3f682b4344b8b6fb0e8478ce684783f183c4802d.tar.gz live-boot-3f682b4344b8b6fb0e8478ce684783f183c4802d.zip | |
Merging casper 1.169.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/live-bottom/43disable_updateinitramfs | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/scripts/live-bottom/43disable_updateinitramfs b/scripts/live-bottom/43disable_updateinitramfs index fa0ecac..2b60315 100755 --- a/scripts/live-bottom/43disable_updateinitramfs +++ b/scripts/live-bottom/43disable_updateinitramfs @@ -30,7 +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 ] +if [ -w /cdrom ] && \ +   ! grep -q '^[^ ]* /cdrom [^ ]* [^ ]*\<ro\>' /proc/mounts; then  then  cat > /root/usr/sbin/update-initramfs << 'EOF' | 
