pmb.build.package: log the cross compile type

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2568
This commit is contained in:
Oliver Smith 2025-03-09 18:20:55 +01:00
parent bef3b43343
commit 215a0de035
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -705,7 +705,11 @@ def packages(
pmb.chroot.apk.install(depends_build, chroot, build=False)
# Build and finish up
logging.info(f"@YELLOW@=>@END@ @BLUE@{channel}/{pkg['name']}@END@: Building package")
msg = f"@YELLOW@=>@END@ @BLUE@{channel}/{pkg['name']}@END@: Building package"
if cross != "unnecessary":
msg += f" (cross compiling: {cross})"
logging.info(msg)
try:
run_abuild(
context,