diff options
author | Daniel Baumann <daniel@debian.org> | 2008-03-01 14:43:47 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:36:19 +0100 |
commit | f23072923eb48d65265bc6f0ebdd848a43373220 (patch) | |
tree | da92a4a4ec02457e317fe2e367eea5ef40f967d6 /helpers/lh_chroot_hacks | |
parent | 9ffb223d703a4bbb76e5278e59b3cc183f2f1aca (diff) | |
download | vyos-live-build-f23072923eb48d65265bc6f0ebdd848a43373220.tar.gz vyos-live-build-f23072923eb48d65265bc6f0ebdd848a43373220.zip |
Adding temporary hack to remove fstab when using live-installer.
Diffstat (limited to 'helpers/lh_chroot_hacks')
-rwxr-xr-x | helpers/lh_chroot_hacks | 7 |
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 |