Skip to contentSkip to conversation

packagegroup: fix a comment regarding PACKAGE_ARCH

PATCH New André Draszik 1 participant 1 message Oct 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup: fix a comment regarding PACKAGE_ARCH

From: André Draszik <[email protected]>

packagegroups whose dependencies are affected by MACHINE_FEATURES need to be marked as MACHINE_ARCH *before* inheriting the packagegroup class, not after.

This has changed in commit 9c826962ec8f ("packagegroup: Make allarch inherit conditional"), commit 4f3f34deafe4 in poky but the comment here wasn't updated at the time.

---
 meta/classes/packagegroup.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/packagegroup.bbclass +1 -1
index 94a59e0c03..1541c8fbff 100644
@@ -8,7 +8,7 @@ PACKAGES = "${PN}"
 
 # By default, packagegroup packages do not depend on a certain architecture.
 # Only if dependencies are modified by MACHINE_FEATURES, packages
-# need to be set to MACHINE_ARCH after inheriting packagegroup.bbclass
+# need to be set to MACHINE_ARCH before inheriting packagegroup.bbclass
 PACKAGE_ARCH ?= "all"
 
 # Fully expanded - so it applies the overrides as well
Signature · 1 line
2.23.0.rc1