void-packages/common/xbps-src/shutils
Juan RP 75eca1b03e xbps-src: base-chroot-v2 (reduce artifacts/deps)
This patchset contains multiple changes to xbps-src and
its required package "base-chroot" for building packages
via chroot.

- moved xbps.d(5) conf files to `etc/xbps.d`.
- renamed xbps.d(5) repository files to `etc/xbps.d/repos-{local,remote}*`.
- do not set `--repository` to any xbps command that supports it,
  xbps-src now simply populates `rootdir/etc/xbps.d` with correct
  settings (taking care of CHROOT_READY/IN_CHROOT).
- Unless `-C` is set (to preserve builddir/destdir/autodeps), when
  entering to the chroot (if CHROOT_READY is set), xbps-src will
  clean up the masterdir and then perform a system update to always
  use a constant set of packages for that exact date.
- Improved some normal/error msgs.
- Includes support for `xbps>=0.58`.
- common/hooks: switch to bsdtar.
- base-chroot:
  - base-chroot-musl is gone, now unified for glibc/musl.
  - deps removed: gettext, mpfr, readline, texinfo, which, xz.
  - deps changed: tar -> bsdtar.

Effectively this reduces dependencies in `base-chroot`, makes
it unified for musl and glibc, switches xbps-src to use `bsdtar`
rather than GNU `tar` and `xz`, gets rid of useless host dependencies
like GNU gettext, texinfo, etc.

I've been testing these changes for 1 month or so already,
I was able to build from scratch `base-system` for both native
and multiple targets, i.e `./xbps-src -a target -Nt pkg base-system`
2020-01-05 10:44:56 +01:00
..
build_dependencies.sh xbps-src: base-chroot-v2 (reduce artifacts/deps) 2020-01-05 10:44:56 +01:00
bulk.sh xbps-src: base-chroot-v2 (reduce artifacts/deps) 2020-01-05 10:44:56 +01:00
chroot.sh xbps-src: base-chroot-v2 (reduce artifacts/deps) 2020-01-05 10:44:56 +01:00
common.sh xbps-src: base-chroot-v2 (reduce artifacts/deps) 2020-01-05 10:44:56 +01:00
consistency_check.sh consistency_check.sh: fix dirname 2019-04-14 09:36:15 -03:00
cross.sh xbps-src: base-chroot-v2 (reduce artifacts/deps) 2020-01-05 10:44:56 +01:00
pkgtarget.sh xbps-src: work around autodeps removal needing multiple passes 2019-10-25 23:53:38 +02:00
purge_distfiles.sh shutils/purge_distfiles.sh: fix purging of multiple distfiles 2019-12-23 00:53:29 +01:00
show.sh xbps-src: multiple performance improvements 2019-07-10 20:28:46 +02:00
update_check.sh update-check: find versions with more components 2019-07-03 00:36:00 +02:00
update_hash_cache.sh update_hash_cache.sh: avoid useless use of cat 2019-04-15 12:18:00 -03:00