add force flag when removing /etc/mtab for exposedroot mode
cdebootstrap does not create /etc/mtab
This commit is contained in:
parent
1385ab5526
commit
ae8cb3bce0
|
@ -150,7 +150,7 @@ then
|
||||||
|
|
||||||
# Mount doesn't write to a symlink so use /proc/mounts instead,
|
# Mount doesn't write to a symlink so use /proc/mounts instead,
|
||||||
# see debian bug #154438 for more info
|
# see debian bug #154438 for more info
|
||||||
rm chroot/etc/mtab
|
rm -f chroot/etc/mtab
|
||||||
ln -s /proc/mounts chroot/etc/mtab
|
ln -s /proc/mounts chroot/etc/mtab
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue