Laying tmpfs on /live/overlay only during initramfs stage, fixes boot failure with...
[live-boot-grml.git] / scripts / boot / 9990-overlay.sh
index cb12c4b..00c53c8 100755 (executable)
@@ -155,9 +155,8 @@ setup_unionfs ()
 
        # tmpfs file systems
        touch /etc/fstab
-       mkdir -p /live
-       mount -t tmpfs tmpfs /live
        mkdir -p /live/overlay
+       mount -t tmpfs tmpfs /live/overlay
 
        # Looking for persistence devices or files
        if [ -n "${PERSISTENCE}" ] && [ -z "${NOPERSISTENCE}" ]