xbps-src: reconfigure base-files not base-directories.
This commit is contained in:
parent
4e99177cf5
commit
428c34d1f0
|
@ -48,7 +48,7 @@ prepare_cross_sysroot() {
|
||||||
fi
|
fi
|
||||||
rm -f $errlog
|
rm -f $errlog
|
||||||
# Create top level symlinks in sysroot.
|
# 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.
|
# Create a sysroot/include symlink just in case.
|
||||||
ln -s usr/include ${XBPS_CROSS_BASE}/include
|
ln -s usr/include ${XBPS_CROSS_BASE}/include
|
||||||
|
|
||||||
|
|
4
xbps-src
4
xbps-src
|
@ -281,8 +281,8 @@ install_bbootstrap() {
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
msg_error "Failed to install bootstrap packages!\n"
|
msg_error "Failed to install bootstrap packages!\n"
|
||||||
fi
|
fi
|
||||||
# Reconfigure base-directories.
|
# Reconfigure base-files to create dirs/symlinks.
|
||||||
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-directories &>/dev/null
|
XBPS_ARCH=$XBPS_TARGET_PKG xbps-reconfigure -r $XBPS_MASTERDIR -f base-files &>/dev/null
|
||||||
msg_normal "Installed bootstrap successfully!\n"
|
msg_normal "Installed bootstrap successfully!\n"
|
||||||
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
|
chroot_prepare $XBPS_TARGET_PKG || msg_error "Failed to initialize chroot!\n"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue