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.
- The fetch phase *must* run after installing pkg dependencies,
otherwise it could fail if we need them for fetching.
- Performance improvements for xbps-src. Only source shutils files
at the start, not every time we use a function.
There are now two ways to use the following targets:
build, build-pkg, clean, configure, extract, fetch, info, install,
install-destdir, remove, stow, unstow.
1) The known way: 'cd srcpkgs/foo && xbps-src <target>"
2) The new way: 'xbps-src <target> foo'.
- Remove buildvars_funcs.sh, its code has been moved into set_tmpl_common_vars().
- Move stripping code into its own file, and don't run it via fakeroot.
- Remove unnecesary reset_tmpl_vars() call in install_pkg().
- Misc changes.
- Prefix all messages with 'Package 'pkgname (version)': ..." to really
understand what's going on. Add more messages in some stages...
- Do not run pre/post_{configure,build,install} or do_{build,install} stages
if they were executed successfully in the past.
* -m flag to specify a custom XBPS_MASTERDIR, overwritting the value
from xbps-src.conf.
* make-repoidx target to create a package index plist file for
the local repository associated with a masterdir, or one specified
by the -p flag.
--HG--
extra : convert_revision : dbd502b532fd49cd17a79a187488a1e92f361ee0
Three new helpers will now be installed into ${libexecdir}:
- xbps-src-capchroot needs to have set CAP_SYS_CHROOT ep.
- xbps-src-chroot-cap{,u}mount: needs to have set CAP_SYS_ADMIN ep.
That means that libcap and setcap(8) are now required to install
xbps-src and use it as normal user.
--HG--
extra : convert_revision : 586d6526079e085f86bf3e393459d429f6f0ef99
* Removed the following vars from the conf file: XBPS_BUILDDIR,
XBPS_PACKAGESDIR and XBPS_SRCDISTDIR. They are always relative
to XBPS_MASTERDIR and cannot be changed.
* Removed XBPS_INSTALLDIR, it was unused in the code.
* Prepend /tools/bin in PATH for the chroot.
* Don't register a repo in the chroot if the XBPS_PREFER_BINPKG_DEPS
is not set.
--HG--
extra : convert_revision : 4df03ffa64f0bbf81cd1dd0baf38f1b7e4f47549