chroot.sh: don't mount unexistent dirs.
--HG-- extra : convert_revision : 51610bead1446f198b5a47596aeef3b82ae2c400
This commit is contained in:
parent
0bb6db28c2
commit
e4f9ab62d8
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ mount_chroot_fs()
|
||||||
;;
|
;;
|
||||||
*) blah=/$f;;
|
*) blah=/$f;;
|
||||||
esac
|
esac
|
||||||
|
[ ! -d $blah ] && continue
|
||||||
mount --bind $blah $XBPS_MASTERDIR/$f
|
mount --bind $blah $XBPS_MASTERDIR/$f
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
echo 1 > $XBPS_MASTERDIR/.${f}_mount_bind_done
|
echo 1 > $XBPS_MASTERDIR/.${f}_mount_bind_done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue