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" != "configure" -a "$action" != "build" -a \
|
||||||
"$action" != "install" -a "$action" != "chroot" ] && return 1
|
"$action" != "install" -a "$action" != "chroot" ] && return 1
|
||||||
|
|
||||||
create_busybox_links
|
|
||||||
install_xbps_utils
|
|
||||||
mount_chroot_fs
|
|
||||||
|
|
||||||
if [ ! -f $XBPS_MASTERDIR/.xbps_perms_done ]; then
|
if [ ! -f $XBPS_MASTERDIR/.xbps_perms_done ]; then
|
||||||
echo -n "==> Preparing chroot on $XBPS_MASTERDIR... "
|
echo -n "==> Preparing chroot on $XBPS_MASTERDIR... "
|
||||||
prepare_chroot
|
prepare_chroot
|
||||||
echo "done."
|
echo "done."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
create_busybox_links
|
||||||
|
install_xbps_utils
|
||||||
|
mount_chroot_fs
|
||||||
|
|
||||||
# Reinstall xbps-src in the chroot
|
# Reinstall xbps-src in the chroot
|
||||||
if [ ! -f $XBPS_MASTERDIR/usr/local/sbin/xbps-src ]; then
|
if [ ! -f $XBPS_MASTERDIR/usr/local/sbin/xbps-src ]; then
|
||||||
env in_chroot=yes LANG=C PATH=$path \
|
env in_chroot=yes LANG=C PATH=$path \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue