xbps-src: reconfigure pkgs for !native masterdirs.
This commit is contained in:
parent
a96d9e40f3
commit
b64fd3fefe
1 changed files with 2 additions and 0 deletions
2
xbps-src
2
xbps-src
|
@ -425,6 +425,8 @@ fi
|
|||
if [ -s $XBPS_MASTERDIR/.xbps_chroot_init ]; then
|
||||
export XBPS_ARCH=$(cat $XBPS_MASTERDIR/.xbps_chroot_init)
|
||||
if [ "$XBPS_MACHINE" = "x86_64" -a "$XBPS_ARCH" = "i686" -a -z "$IN_CHROOT" ]; then
|
||||
# reconfigure pkgs via linux32
|
||||
linux32 xbps-reconfigure -r ${XBPS_MASTERDIR} -a &>/dev/null
|
||||
# reexec itself via linux32
|
||||
exec linux32 $0 ${XBPS_OPTIONS} $@
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue