xbps-src: support building bootstrap pkgs in chroot with -D.
The base_chroot var has been renamed to bootstrap, to avoid conflicts with the base-chroot pkg. So now you can rebuild any bootstrap package if the masterdir is ready (base-chroot already) installed and installation is only to destdir.
This commit is contained in:
parent
8156eeb03e
commit
5355f32aca
33 changed files with 60 additions and 39 deletions
|
@ -90,7 +90,7 @@ reset_tmpl_vars()
|
|||
local TMPL_VARS="pkgname distfiles configure_args \
|
||||
make_build_args make_install_args build_style \
|
||||
short_desc maintainer long_desc checksum wrksrc \
|
||||
make_cmd base_chroot register_shell keep_empty_dirs \
|
||||
make_cmd bootstrap register_shell keep_empty_dirs \
|
||||
make_build_target configure_script noextract nofetch \
|
||||
pre_configure pre_build pre_install build_depends \
|
||||
post_configure post_build post_install nostrip \
|
||||
|
@ -285,6 +285,10 @@ set_tmpl_common_vars()
|
|||
|
||||
. $XBPS_SHUTILSDIR/install_files.sh
|
||||
|
||||
if [ -n "$IGNORE_BOOTSTRAP_PKGS" ]; then
|
||||
unset bootstrap
|
||||
fi
|
||||
|
||||
FILESDIR=$XBPS_SRCPKGDIR/$pkgname/files
|
||||
PATCHESDIR=$XBPS_SRCPKGDIR/$pkgname/patches
|
||||
DESTDIR=${XBPS_DESTDIR}/${pkgname}-${version}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue