X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=942a22bd22b84744d1313d3cdd2ea35d1888db33;hb=73a0e6fc999ff71da4e0e84a2def026219f411ef;hp=07226fad3f73b4d143ea6e3d891492d9c36c5040;hpb=208f5edf15809e85af2bd11fff1d9e43ede6fe0b;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 07226fa..942a22b 100755 --- a/scripts/live +++ b/scripts/live @@ -466,7 +466,7 @@ is_nice_device () { sysfs_path="${1#/sys}" - if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-|platform-orion-ehci|platform-mmc|platform-mxsdhci|)" + if /lib/udev/path_id "${sysfs_path}" | egrep -q "ID_PATH=(usb|pci-|platform-sata_mv|platform-orion-ehci|platform-mmc|platform-mxsdhci|)" then return 0 elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$' @@ -1874,6 +1874,12 @@ mountroot () mount --move /live/image /root/live/image fi + # aufs2 in kernel versions around 2.6.33 has a regression: + # directories can't be accessed when read for the first the time, + # causing a failure for example when accessing /var/lib/fai + # when booting FAI, this simple workaround solves it + ls /root/* >/dev/null 2>&1 + maybe_break live-bottom log_begin_msg "Running /scripts/live-bottom\n"