diff -uprN initramfs-tools-0.85eubuntu26.old/update-initramfs initramfs-tools-0.85eubuntu26.new/update-initramfs --- initramfs-tools-0.85eubuntu26.old/update-initramfs 2008-02-08 00:35:02.000000000 +0100 +++ initramfs-tools-0.85eubuntu26.new/update-initramfs 2008-03-04 03:56:04.000000000 +0100 @@ -261,7 +261,7 @@ delete_sha1() ro_boot_check() { [ -r /proc/mounts ] || return 0 - boot_opts=$(awk '/boot/{if (match($4, /([^a-zA-Z0-9]|^)ro([^a-zA-Z0-9]|$)/) && $2 == "/boot") print "ro"}' /proc/mounts) + boot_opts=$(awk '/boot/{if (match($4, /(.*,|^)ro(,.*|$)/) && $2 == "/boot") print "ro"}' /proc/mounts) if [ -n "${boot_opts}" ]; then echo "WARNING: /boot is ro mounted." echo "update-initramfs: Not updating ${initramfs}"