Mega-commit removing deps in xbps-base-chroot.
xbps-src: * ALWAYS use the static bins, to avoid breakage in the chroot. * Remove XBPS_FETCH_CMD. Use xbps-fetch (static) now that it's useful to download all distfiles in xbps-base-system. * Use busybox in the chroot and create links in /usr/local/bin at creation time. This helps to remove many packages that had problems with host/target libs (acl, attr, libarchive, etc). build templates: * Add explicit gettext and texinfo build dependencies in all packages that need them, because they aren't built anymore by xbps-base-chroot. * Fixed some packages using build_style=gnu_makefile, that were broken because pre/post_configure() is not executed for a while, they should use pre/post_build() instead. --HG-- extra : convert_revision : 0eaaf4917fd824710d0895e0c984bbc236b0cdf8
This commit is contained in:
parent
ab0de77616
commit
1ebe5e6b5e
54 changed files with 148 additions and 199 deletions
|
@ -107,8 +107,11 @@ set_defvars()
|
|||
[ ! -d "$val" ] && msg_error "cannot find $i, aborting."
|
||||
done
|
||||
|
||||
XBPS_REGPKGDB_CMD="xbps-pkgdb -r $XBPS_MASTERDIR"
|
||||
XBPS_BIN_CMD="xbps-bin -r $XBPS_MASTERDIR"
|
||||
export XBPS_PKGDB_CMD="xbps-pkgdb.static -r $XBPS_MASTERDIR"
|
||||
export XBPS_BIN_CMD="xbps-bin.static -r $XBPS_MASTERDIR"
|
||||
export XBPS_DIGEST_CMD="xbps-digest.static"
|
||||
export XBPS_CMPVER_CMD="xbps-cmpver.static"
|
||||
export XBPS_FETCH_CMD="xbps-fetch.static"
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -148,7 +151,7 @@ check_config_vars()
|
|||
fi
|
||||
done
|
||||
|
||||
export PATH="$PATH:@@XBPS_INSTALL_PREFIX@@/sbin"
|
||||
export PATH="@@XBPS_INSTALL_PREFIX@@/sbin:$PATH"
|
||||
}
|
||||
|
||||
#
|
||||
|
@ -217,7 +220,7 @@ build-pkg)
|
|||
. $XBPS_SHUTILSDIR/tmpl_funcs.sh
|
||||
if [ "$2" = "all" ]; then
|
||||
for f in $($XBPS_BIN_CMD list|awk '{print $1}'); do
|
||||
pkg=$(xbps-pkgdb getpkgname $f)
|
||||
pkg=$(${XBPS_PKGDB_CMD} getpkgname $f)
|
||||
setup_tmpl ${pkg}
|
||||
if [ "$pkg" = "$sourcepkg" ]; then
|
||||
xbps_make_binpkg ${pkg}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue