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:
@@ -106,7 +106,7 @@ stow_pkg_real()
|
||||
else
|
||||
lver="${version}"
|
||||
fi
|
||||
$XBPS_REGPKGDB_CMD register $pkg $lver "$short_desc" || exit 1
|
||||
$XBPS_PKGDB_CMD register $pkg $lver "$short_desc" || exit 1
|
||||
return $?
|
||||
}
|
||||
|
||||
@@ -127,7 +127,7 @@ unstow_pkg()
|
||||
|
||||
run_template $pkg
|
||||
|
||||
ver=$($XBPS_REGPKGDB_CMD version $pkg)
|
||||
ver=$($XBPS_PKGDB_CMD version $pkg)
|
||||
if [ -z "$ver" ]; then
|
||||
msg_error "$pkg is not installed."
|
||||
fi
|
||||
@@ -165,6 +165,6 @@ unstow_pkg()
|
||||
rm -rf $XBPS_PKGMETADIR/$pkg
|
||||
|
||||
# Unregister pkg from plist file.
|
||||
$XBPS_REGPKGDB_CMD unregister $pkg $ver
|
||||
$XBPS_PKGDB_CMD unregister $pkg $ver
|
||||
return $?
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user