pmbootstrap-meow/pmb/build
Caleb Connolly 6857882cf0
build: finish builder rework (MR 2252)
Rename build.package() to build.packages() and take a list of packages
to build, since every caller was inside a for loop this simplifies
usage and let's us give nicer log output by doing all the builds first,
so log messages don't get lost in the middle.

Behaviour is cleaned up so this shouuuuld work pretty well now. It
properly descends into dependencies and will build dependencies even if
the package given doesn't need building. Technically this was only done
before during install where the dependencies were recursed in
chroot.apk.install().

It probably makes the most sense to have a mode where it doesn't build
dependencies but warns the user about it, at least when invoked via
pmbootstrap build.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-06-23 12:38:39 +02:00
..
__init__.py build: finish builder rework (MR 2252) 2024-06-23 12:38:39 +02:00
_package.py build: finish builder rework (MR 2252) 2024-06-23 12:38:39 +02:00
autodetect.py build: finish builder rework (MR 2252) 2024-06-23 12:38:39 +02:00
checksum.py WIP: start ripping out args (MR 2252) 2024-06-23 12:38:38 +02:00
envkernel.py core: add an Arch type (MR 2252) 2024-06-23 12:38:39 +02:00
init.py TEMP: disable pigz (MR 2252) 2024-06-23 12:38:39 +02:00
kconfig.py meta: introduce a Cache decorator (MR 2252) 2024-06-23 12:38:39 +02:00
newapkbuild.py treewide: migrate to pkgrepo API (MR 2252) 2024-06-23 12:38:39 +02:00
other.py core: add an Arch type (MR 2252) 2024-06-23 12:38:39 +02:00