Removing unionfs workaround for kernel versions << 2.6.22, not usefull anymore.
authorDaniel Baumann <daniel@debian.org>
Fri, 19 Feb 2010 14:27:28 +0000 (15:27 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:07 +0000 (17:48 +0100)
scripts/live

index 26cd5cf..9479f3f 100755 (executable)
@@ -1101,13 +1101,8 @@ setup_unionfs ()
        # Let's just mount the read-only file systems first
        rofsstring=""
        rofslist=""
-       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"
-       elif [ "${UNIONTYPE}" = "aufs" ]
+       if [ "${UNIONTYPE}" = "aufs" ]
        then
                roopt="rr"
        else