diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-24 18:01:11 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-08-27 12:49:19 +0200 |
commit | 5a25dde053e93e64b945776ab3fbf8b67c8c0773 (patch) | |
tree | 5142abd3676f5cdc0c5ca9510d3367285081d94d | |
parent | 1a199dca255cab3cf8ad23a0508c4175353ea441 (diff) | |
download | meta-openembedded-5a25dde053e93e64b945776ab3fbf8b67c8c0773.tar.gz |
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
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
3 files changed, 2 insertions, 10 deletions
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb index ad1cd83ae..20b16527e 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-basic.bb | |||
@@ -7,11 +7,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d | |||
7 | 7 | ||
8 | PR = "r13" | 8 | PR = "r13" |
9 | 9 | ||
10 | inherit packagegroup | ||
11 | |||
12 | # packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH | ||
13 | # | ||
14 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 10 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
11 | inherit packagegroup | ||
15 | 12 | ||
16 | # Poke extra recomendations into the list using your machine.conf | 13 | # Poke extra recomendations into the list using your machine.conf |
17 | # | 14 | # |
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb index 61a519d8c..f50443d81 100644 --- a/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb +++ b/meta-oe/recipes-core/packagegroups/packagegroup-boot.bb | |||
@@ -4,11 +4,8 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d | |||
4 | 4 | ||
5 | PR = "r58" | 5 | PR = "r58" |
6 | 6 | ||
7 | inherit packagegroup | ||
8 | |||
9 | # packages which content depend on MACHINE_FEATURES need to be MACHINE_ARCH | ||
10 | # | ||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 7 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
8 | inherit packagegroup | ||
12 | 9 | ||
13 | # | 10 | # |
14 | # those ones can be set in machine config to supply packages needed to get machine booting | 11 | # those ones can be set in machine config to supply packages needed to get machine booting |
diff --git a/meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb b/meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb index aacf37973..fd6c992dc 100644 --- a/meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb +++ b/meta-oe/recipes-graphics/xorg-font/xorg-fonts-100dpi.bb | |||
@@ -3,8 +3,6 @@ LICENSE = "Custom" | |||
3 | 3 | ||
4 | inherit packagegroup | 4 | inherit packagegroup |
5 | 5 | ||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
8 | RDEPENDS_${PN} = "\ | 6 | RDEPENDS_${PN} = "\ |
9 | font-adobe-100dpi \ | 7 | font-adobe-100dpi \ |
10 | font-adobe-utopia-100dpi \ | 8 | font-adobe-utopia-100dpi \ |