summaryrefslogtreecommitdiff
path: root/scripts/boot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-14 20:13:00 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-14 20:13:04 +0200
commit9dac5b65e0e6aaa9e194ec5e423476c78f6209e5 (patch)
treedbabfcf7c08411572887dddf384b4944bf4a3338 /scripts/boot
parent4ecca9f9ba476c987f41fdb596bd5f4f53d85a3c (diff)
downloadlive-boot-9dac5b65e0e6aaa9e194ec5e423476c78f6209e5.tar.gz
live-boot-9dac5b65e0e6aaa9e194ec5e423476c78f6209e5.zip
Laying tmpfs on /live/overlay only during initramfs stage, fixes boot failure with plain filesystems (Closes: #681579).
Diffstat (limited to 'scripts/boot')
-rwxr-xr-xscripts/boot/9990-overlay.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index cb12c4b..00c53c8 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -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}" ]