shutils/chroot.sh: run prepare_chroot before anything else!
--HG-- extra : convert_revision : 0ca996d5cca9028b33bdbb49c7078c9443e592ad
This commit is contained in:
parent
dbb02a1930
commit
faed7daa5c
1 changed files with 4 additions and 4 deletions
|
@ -165,16 +165,16 @@ xbps_chroot_handler()
|
|||
[ "$action" != "configure" -a "$action" != "build" -a \
|
||||
"$action" != "install" -a "$action" != "chroot" ] && return 1
|
||||
|
||||
create_busybox_links
|
||||
install_xbps_utils
|
||||
mount_chroot_fs
|
||||
|
||||
if [ ! -f $XBPS_MASTERDIR/.xbps_perms_done ]; then
|
||||
echo -n "==> Preparing chroot on $XBPS_MASTERDIR... "
|
||||
prepare_chroot
|
||||
echo "done."
|
||||
fi
|
||||
|
||||
create_busybox_links
|
||||
install_xbps_utils
|
||||
mount_chroot_fs
|
||||
|
||||
# Reinstall xbps-src in the chroot
|
||||
if [ ! -f $XBPS_MASTERDIR/usr/local/sbin/xbps-src ]; then
|
||||
env in_chroot=yes LANG=C PATH=$path \
|
||||
|
|
Loading…
Reference in a new issue