pmbootstrap-meow/pmb/build
Oliver Smith 2177271fc8
build: fix duplicate install messages
Since cross-native2 was introduced, pmbootstrap now tells the user which
host and which build dependencies are getting installed. This makes
sense if they get installed into separate chroots, but not if they get
installed into the same chroot:

	$ pmbootstrap build hello-world-wrapper --force
	[16:47:19] Building 1 package
	[16:47:19]    * edge/hello-world-wrapper
	[16:47:19] => (1/1) edge/hello-world-wrapper: Installing dependencies
	[16:47:19] *** Install host dependencies
	[16:47:19] (native) install hello-world
	[16:47:20] *** Install build dependencies
	[16:47:20] (native) install hello-world
	[16:47:22] => edge/hello-world-wrapper: Building package

Don't list the depends separately if we are installing them into the
same chroot:

	$ pmbootstrap build hello-world-wrapper --force
	[16:51:35] Building 1 package
	[16:51:35]    * edge/hello-world-wrapper
	[16:51:35] => (1/1) edge/hello-world-wrapper: Installing dependencies
	[16:51:35] (native) install hello-world
	[16:51:36] => edge/hello-world-wrapper: Building package

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2589
2025-05-08 22:45:18 +02:00
..
__init__.py pmb: Use explicit re-exports (MR 2545) 2025-02-23 11:40:44 +01:00
_package.py build: fix duplicate install messages 2025-05-08 22:45:18 +02:00
autodetect.py FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00
backend.py FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00
checksum.py pmb: Add more type hints (MR 2490) 2024-12-19 10:09:22 +00:00
envkernel.py build: envkernel: build for the correct channel 2025-03-20 23:03:35 +01:00
init.py FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00
kconfig.py FIXUP: build: abstract CrossCompile type logic 2025-03-16 16:30:04 +01:00
newapkbuild.py pmb: Use unpacking operator to concatenate collections (MR 2525) 2025-01-15 22:35:02 +01:00
other.py pmb: Reformat with Ruff 0.9 (MR 2525) 2025-01-15 22:35:02 +01:00