xbps-src: reconfigure base-files not base-directories.

This commit is contained in:
Juan RP 2015-06-03 10:44:58 +02:00
parent 4e99177cf5
commit 428c34d1f0
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ prepare_cross_sysroot() {
fi
rm -f $errlog
# Create top level symlinks in sysroot.
XBPS_ARCH=$XBPS_TARGET_ARCH xbps-reconfigure -r $XBPS_CROSS_BASE -f base-directories
XBPS_ARCH=$XBPS_TARGET_ARCH xbps-reconfigure -r $XBPS_CROSS_BASE -f base-files
# Create a sysroot/include symlink just in case.
ln -s usr/include ${XBPS_CROSS_BASE}/include

View file

@ -281,8 +281,8 @@ install_bbootstrap() {
if [ $? -ne 0 ]; then
msg_error "Failed to install bootstrap packages!\n"
fi
# Reconfigure base-directories.
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-directories &>/dev/null
# Reconfigure base-files to create dirs/symlinks.
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
msg_normal "Installed bootstrap successfully!\n"
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
}