Laying tmpfs on /live/overlay only during initramfs stage, fixes boot failure with...
authorDaniel Baumann <daniel@debian.org>
Tue, 14 Aug 2012 18:13:00 +0000 (20:13 +0200)
committerDaniel Baumann <daniel@debian.org>
Tue, 14 Aug 2012 18:13:04 +0000 (20:13 +0200)
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}" ]