X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=a73da84a600018f445a14f5fdb8141ef2c98788e;hb=refs%2Ftags%2Fupstream%2F1.95.3;hp=97777bdd09dcfda231033a8767cbea45d7ea4a90;hpb=496e07acecac83f5f19fa68a3017987b7b311396;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index 97777bd..a73da84 100755 --- a/scripts/live +++ b/scripts/live @@ -635,8 +635,10 @@ setup_unionfs() { # Let's just mount the read-only file systems first rofsstring="" rofslist="" - if [ "${NETBOOT}" = "nfs" ] ; then - roopt="nfsro" # go aroung a bug in nfs-unionfs locking + minor_kernel_version=`uname -r|cut -c 5-|sed 's/[^0-9].*//'` + if [ "${NETBOOT}" = "nfs" ] && [ "${minor_kernel_version}" -lt 22 ]; then + # go aroung a bug in nfs-unionfs locking for unionfs <= 1.4 + roopt="nfsro" else roopt="ro" fi