diff -Nru casper-1.205/debian/changelog casper-1.206/debian/changelog --- casper-1.205/debian/changelog 2009-10-20 17:32:03.000000000 +0100 +++ casper-1.206/debian/changelog 2009-10-22 11:49:17.000000000 +0100 @@ -1,3 +1,10 @@ +casper (1.206) karmic; urgency=low + + * Fix broken /cdrom writable test in 43disable_initramfs + (LP: #450259). + + -- Evan Dandrea Thu, 22 Oct 2009 11:49:15 +0100 + casper (1.205) karmic; urgency=low * scripts/casper-bottom/25configure_init: Disable sreadahead on live CD diff -Nru casper-1.205/scripts/casper-bottom/43disable_updateinitramfs casper-1.206/scripts/casper-bottom/43disable_updateinitramfs --- casper-1.205/scripts/casper-bottom/43disable_updateinitramfs 2009-04-09 18:28:31.000000000 +0100 +++ casper-1.206/scripts/casper-bottom/43disable_updateinitramfs 2009-10-22 11:22:01.000000000 +0100 @@ -25,7 +25,8 @@ /usr/sbin/update-initramfs # Running off a USB disk or other writable media. if [ -w /root/cdrom ] && \ - ! grep -q '^[^ ]* /root/cdrom [^ ]* [^ ]*\' /proc/mounts; then + # rw is guaranteed to be first. + grep -q ' /root/cdrom rw[, ]' /proc/self/mountinfo; then cat > /root/usr/sbin/update-initramfs <<'EOF' #! /bin/sh update-initramfs.distrib "$@"