Using 'overlay' instead of 'overlayfs' everywhere, without backwards compatibility...
authorDaniel Baumann <mail@daniel-baumann.ch>
Sun, 4 Jan 2015 20:09:04 +0000 (21:09 +0100)
committerDaniel Baumann <mail@daniel-baumann.ch>
Sun, 4 Jan 2015 20:47:53 +0000 (21:47 +0100)
When overlayfs got merged into kernel mainline it was
renamed to overlay. We don't provide backwards compatibility
since overlayfs support was experimental and only with
non-debian default kernels available.

backend/initramfs-tools/live.hook
components/9990-misc-helpers.sh
components/9990-overlay.sh

index f48cb5a..234f334 100755 (executable)
@@ -105,7 +105,7 @@ manual_add_modules squashfs
 manual_add_modules sqlzma
 manual_add_modules unlzma
 
-# Filesystem: aufs/overlayfs/unionfs
+# Filesystem: aufs/overlay/unionfs
 manual_add_modules aufs
 manual_add_modules overlay
 manual_add_modules unionfs
index fb139ec..70f907a 100755 (executable)
@@ -1322,15 +1322,15 @@ do_union ()
                        pidof unionfs-fuse >> /run/sendsigs.omit.d/unionfs-fuse || true )
                        ;;
 
-               overlayfs)
-                       # XXX: can multiple unionro be used? (overlayfs only handles two dirs, but perhaps they can be chained?)
-                       # XXX: and can unionro be optional? i.e. can overlayfs skip lowerdir?
+               overlay)
+                       # XXX: can multiple unionro be used? (overlay only handles two dirs, but perhaps they can be chained?)
+                       # XXX: and can unionro be optional? i.e. can overlay skip lowerdir?
                        if echo ${unionro} | grep -q " "
                        then
-                               panic "Multiple lower filesystems are currently not supported with overlayfs (unionro = ${unionro})."
+                               panic "Multiple lower filesystems are currently not supported with overlay (unionro = ${unionro})."
                        elif [ -z "${unionro}"  ]
                        then
-                               panic "Overlayfs needs at least one lower filesystem (read-only branch)."
+                               panic "overlay needs at least one lower filesystem (read-only branch)."
                        fi
                        unionmountopts="-o noatime,lowerdir=${unionro},upperdir=${unionrw}"
                        mount -t ${UNIONTYPE} ${unionmountopts} ${UNIONTYPE} "${unionmountpoint}"
index 52c045a..e22b905 100755 (executable)
@@ -9,7 +9,7 @@ setup_unionfs ()
        addimage_directory="${3}"
 
        case ${UNIONTYPE} in
-               aufs|unionfs|overlayfs)
+               aufs|unionfs|overlay)
                        modprobe -q -b ${UNIONTYPE}
 
                        if ! cut -f2 /proc/filesystems | grep -q "^${UNIONTYPE}\$" && [ -x /bin/unionfs-fuse ]