diff options
author | Jesse Hathaway <jesse@mbuki-mvuki.org> | 2007-10-30 17:03:44 -0400 |
---|---|---|
committer | Jesse Hathaway <jesse@mbuki-mvuki.org> | 2007-10-31 10:20:15 -0400 |
commit | ae8cb3bce02962693c52019eba0a14748cad5416 (patch) | |
tree | 364b0dff88d1c13b240e513a8823e6b1b8122d9c | |
parent | 1385ab552699c98c776621026e8c1d4084fd4774 (diff) | |
download | vyos-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-x | helpers/lh_chroot_hacks | 2 |
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 |