pmbootstrap-meow/pmb/build
Caleb Connolly 2ce06e9791
build: package: properly ensure build-base packages are built first (MR 2363)
In ("build: special case building abuild (MR 2356)") we tried to ensure
that abuild would be built before anything else, however this
implementation failed miserably if the first package given didn't
actually need to be built (since we skip building deps of packages that
aren't flagged for build).

Let's take a different stab at this by actually inserting build_packages
into the build queue if they need building. They're inserted at the end
just before the queue is reversed, so they will always be built first.

This makes the order of pmb.config.build_packages important, enshrine
this with a comment.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2024-07-12 00:37:12 +02:00
..
__init__.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
_package.py build: package: properly ensure build-base packages are built first (MR 2363) 2024-07-12 00:37:12 +02:00
autodetect.py pmb.build: Properly type cross-compilation types (MR 2337) 2024-06-24 20:23:01 +02:00
backend.py build: use get_pkgver() again (MR 2353) 2024-07-09 00:07:53 +02:00
checksum.py Auto-format codebase with ruff (MR 2325) 2024-06-23 15:40:13 +02:00
envkernel.py Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00
init.py build: init: simplify installing build deps (MR 2363) 2024-07-12 00:37:11 +02:00
kconfig.py pmb.build.kconfig: Annotate None return types (MR 2337) 2024-06-24 20:45:21 +02:00
newapkbuild.py ruff: run check --fix (MR 2252) 2024-06-23 12:38:41 +02:00
other.py Ruff: fix typing.Xxx is deprecated, use xxx instead (MR 2327) 2024-06-23 19:13:57 +02:00