xbps-src/build_dependencies.sh: in !CHROOT_READY case don't install pkgs with fakeroot.
This commit is contained in:
parent
6fc3d360fc
commit
14a5ef4503
|
@ -13,9 +13,13 @@ install_pkg_from_repos() {
|
|||
tmplogf=$(mktemp)
|
||||
if [ -n "$cross" ]; then
|
||||
$FAKEROOT_CMD $XBPS_INSTALL_XCMD -Ayd "$pkg" >$tmplogf 2>&1
|
||||
else
|
||||
if [ -z "$CHROOT_READY" ]; then
|
||||
$XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1
|
||||
else
|
||||
$FAKEROOT_CMD $XBPS_INSTALL_CMD -Ayd "$pkg" >$tmplogf 2>&1
|
||||
fi
|
||||
fi
|
||||
rval=$?
|
||||
if [ $rval -ne 0 -a $rval -ne 17 ]; then
|
||||
# xbps-install can return:
|
||||
|
|
Loading…
Reference in New Issue