diff options
author | Jesse Hathaway <jesse@mbuki-mvuki.org> | 2007-10-30 17:03:44 -0400 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:22:28 +0100 |
commit | d896f1dd21c9c3efd193599352295bf79e16b6ec (patch) | |
tree | 364b0dff88d1c13b240e513a8823e6b1b8122d9c | |
parent | 3f92839a539c932344a88d09f60a031d23532971 (diff) | |
download | vyos-live-build-d896f1dd21c9c3efd193599352295bf79e16b6ec.tar.gz vyos-live-build-d896f1dd21c9c3efd193599352295bf79e16b6ec.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 |