bulk: implement small_repo
Unlike thin repo the small repos also includes the runtime dependencies
and the pkg itself.
Conflicts:
src/share/poudriere/bulk.sh
src/share/poudriere/common.sh
bulk: support thin repository
if the new -m argument is passed to the bulk command then a new
repository with the same name as the regular one with -thin appended
is created, it only contains the packages that has been listed to be
built and nothing more.
The repo creation is done on that new repo along with siging
Note that this option is incompatible with -a
Conflicts:
src/man/poudriere-bulk.8
src/share/poudriere/bulk.sh
src/share/poudriere/common.sh
pkgbase: Fix building packages
When updating a jail we first make buildworld/buildkernel and then
we make update-packages.
Since the src.conf/make.conf is now clean after building, if a user have
some custom option in them make update-packages will not know this and will
try to build packages with some non-existant files.
Fixes: 256f4f17a120 ("jail -cu: Don't include build-time make.conf files into jail's clean snapshot")
Support pkg-devel shlib changes.
pkg-devel now adds base libs as required metadata. Base libs need
to be considered as "provided" by dependencies even if no dependency
provides them.
- _package_deps_provided_libs() changes fix the new incremental
algorithm enabled with PKG_NO_VERSION_FOR_DEPS.
The change done is simple; an ideal change might introduce a pseudo
base libs package that package_recursive_deps() returns for all
packages and would cause package_deps_provided_libs() and
pkg_get_shlib_provides() to return the base libs from. This would
have the benefit of caching the base find call. For now the
simple method is done.