summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-08-14 00:59:19 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:01 +0100
commit019c1f8d84f6eee21de9338faee03acf1505c4b5 (patch)
tree86d1e9157bed88013b46f9f1ee611659d5bf6446
parent6c4ef88d692a03c47d374828ead246f7232d2850 (diff)
downloadlive-boot-019c1f8d84f6eee21de9338faee03acf1505c4b5.tar.gz
live-boot-019c1f8d84f6eee21de9338faee03acf1505c4b5.zip
Add an /etc/fstab to the initramfs to silence harmless "empty fstab" warnings.
-rwxr-xr-xscripts/live1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live
index 9fbe2b5..656039a 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1165,6 +1165,7 @@ setup_unionfs ()
fi
# tmpfs file systems
+ touch /etc/fstab
mkdir -p "${rootmnt}/live"
mount -t tmpfs tmpfs ${rootmnt}/live