summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-30 17:03:44 -0400
committerJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-31 10:20:15 -0400
commitae8cb3bce02962693c52019eba0a14748cad5416 (patch)
tree364b0dff88d1c13b240e513a8823e6b1b8122d9c
parent1385ab552699c98c776621026e8c1d4084fd4774 (diff)
downloadvyos-live-build-ae8cb3bce02962693c52019eba0a14748cad5416.tar.gz
vyos-live-build-ae8cb3bce02962693c52019eba0a14748cad5416.zip
add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
-rwxr-xr-xhelpers/lh_chroot_hacks2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_hacks b/helpers/lh_chroot_hacks
index 8c08d5504..7df2cdcb0 100755
--- a/helpers/lh_chroot_hacks
+++ b/helpers/lh_chroot_hacks
@@ -150,7 +150,7 @@ then
# Mount doesn't write to a symlink so use /proc/mounts instead,
# see debian bug #154438 for more info
- rm chroot/etc/mtab
+ rm -f chroot/etc/mtab
ln -s /proc/mounts chroot/etc/mtab
fi