[oe-commits] [openembedded-core] 10/10: packagegroup: fix a comment regarding PACKAGE_ARCH

git at git.openembedded.org git at git.openembedded.org
Wed Oct 2 13:42:50 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 0ed86b3ed4248e87cf1f8c2e6a01dcf454c06fa0
Author: André Draszik <andre.draszik at jci.com>
AuthorDate: Tue Oct 1 16:57:28 2019 +0100

    packagegroup: fix a comment regarding PACKAGE_ARCH
    
    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.
    
    Signed-off-by: André Draszik <andre.draszik at jci.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/packagegroup.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/packagegroup.bbclass b/meta/classes/packagegroup.bbclass
index 94a59e0..1541c8f 100644
--- a/meta/classes/packagegroup.bbclass
+++ b/meta/classes/packagegroup.bbclass
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list