Skip to contentSkip to conversation

packagegroup*: set PACKAGE_ARCH before packagegroup inherit

PATCH New Martin Jansa 1 participant 1 message Aug 24, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup*: set PACKAGE_ARCH before packagegroup inherit

* The required order was changed in oe-core commit:
allarch: Add warning about packagegroup
Since we want to start including this class conditionally, detect cases where packagegroup files use the old ordering and inform the user they need to update this.
* drop PACKAGE_ARCH setting from xorg-fonts-100dpi - nothing seems MACHINE specific in it

---
 meta-oe/recipes-core/packagegroups/packagegroup-basic.bb | 5 +----
 meta-oe/recipes-core/packagegroups/packagegroup-boot.bb  | 5 +----
 meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb  | 2 --
 3 files changed, 2 insertions(+), 10 deletions(-)
meta-oe/recipes-core/packagegroups/packagegroup-basic.bb +1 -4
index ad1cd83..20b1652 100644
@@ -7,11 +7,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 
 PR = "r13"
 
-inherit packagegroup
-
-# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
-#
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+inherit packagegroup
 
 # Poke extra recomendations into the list using your machine.conf
 #
meta-oe/recipes-core/packagegroups/packagegroup-boot.bb +1 -4
index 61a519d..f50443d 100644
@@ -4,11 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 
 PR = "r58"
 
-inherit packagegroup
-
-# packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH
-#
 PACKAGE_ARCH = "${MACHINE_ARCH}"
+inherit packagegroup
 
 #
 # those ones can be set in machine config to supply packages needed to get machine booting
meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb +0 -2
index aacf379..fd6c992 100644
@@ -3,8 +3,6 @@ LICENSE = "Custom"
 
 inherit packagegroup
 
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
 RDEPENDS_${PN} = "\
 	font-adobe-100dpi \
 	font-adobe-utopia-100dpi \
Signature · 1 line
2.0.4