summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-03-01 14:43:47 +0100
committerDaniel Baumann <daniel@debian.org>2008-03-01 14:43:47 +0100
commit522c2455bcae9af108feb99a824b8ea13a78787e (patch)
treeda92a4a4ec02457e317fe2e367eea5ef40f967d6
parent2e50db26fda76e81ca0caeca11596a1d26a96c01 (diff)
downloadvyos-live-build-522c2455bcae9af108feb99a824b8ea13a78787e.tar.gz
vyos-live-build-522c2455bcae9af108feb99a824b8ea13a78787e.zip
Adding temporary hack to remove fstab when using live-installer.
-rwxr-xr-xhelpers/lh_chroot_hacks7
1 files changed, 7 insertions, 0 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index ffa9d9c67..4112521c7 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -104,6 +104,13 @@ then
chown -R --quiet 999:999 chroot/home/${LH_USERNAME}
fi
+# This is a temporary hack to get rid of fstab;
+# needs cleanup in live-initramfs first to proper fix.
+if [ "${LH_DEBIAN_INSTALLER}" = "live" ]
+then
+ rm -f chroot/etc/fstab
+fi
+
if [ "${LH_EXPOSED_ROOT}" = "enabled" ]
then
# Make sure RW dirs exist so that the initramfs script has