From faed7daa5cc95e94d94b6589da74539e1851647f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Nov 2009 06:32:42 +0000 Subject: [PATCH] shutils/chroot.sh: run prepare_chroot before anything else! --HG-- extra : convert_revision : 0ca996d5cca9028b33bdbb49c7078c9443e592ad --- xbps-src/shutils/chroot.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xbps-src/shutils/chroot.sh b/xbps-src/shutils/chroot.sh index e007bc167c..4fabfebcb7 100644 --- a/xbps-src/shutils/chroot.sh +++ b/xbps-src/shutils/chroot.sh @@ -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 \