summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_hacks
diff options
context:
space:
mode:
authorJesse Hathaway <jesse@mbuki-mvuki.org>2007-10-30 17:03:44 -0400
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:28 +0100
commitd896f1dd21c9c3efd193599352295bf79e16b6ec (patch)
tree364b0dff88d1c13b240e513a8823e6b1b8122d9c /helpers/lh_chroot_hacks
parent3f92839a539c932344a88d09f60a031d23532971 (diff)
downloadlive-build-d896f1dd21c9c3efd193599352295bf79e16b6ec.zip
live-build-d896f1dd21c9c3efd193599352295bf79e16b6ec.tar.gz
add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
Diffstat (limited to 'helpers/lh_chroot_hacks')
-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 8c08d55..7df2cdc 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