Skip to contentSkip to conversation

udev-extraconf: drop allarch to allow setting to MACHINE_ARCH in some .bbappend

PATCH In review Martin Jansa 2 participants 3 messages Nov 15, 2012 – Nov 26, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 udev-extraconf: drop allarch to allow setting to MACHINE_ARCH in some .bbappend

* if bsp needs some special rule for udev
* see https://bugzilla.yoctoproject.org/show_bug.cgi?id=3390 for details

---
 meta/recipes-core/udev/udev-extraconf_1.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes-core/udev/udev-extraconf_1.0.bb +1 -3
index 2c4a4f1..fd9a333 100644
@@ -4,9 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
-inherit allarch
-
-PR = "r7"
+PR = "r8"
 
 SRC_URI = " \
        file://automount.rules \
Signature · 1 line
1.8.0
#1 lore raw

PATCH 2/2 opkg: drop PACKAGE_ARCH setting for update-alternatives-cworth

* there is warning about update-alternatives-cworth ipk being overwritten in "all" feed when opkg is built for more architectures
* see https://bugzilla.yoctoproject.org/show_bug.cgi?id=3390 for details

---
 meta/recipes-devtools/opkg/opkg.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/recipes-devtools/opkg/opkg.inc +1 -2
index b3d587c..250eaa8 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://src/opkg-cl.c;beginline=1;endline=20;md5=321f658c3f6b6c832e25c8850b5dffba"
 
 PE = "1"
-INC_PR = "r10"
+INC_PR = "r11"
 
 FILESDIR = "${@os.path.dirname(d.getVar('FILE',1))}/opkg"
 
@@ -36,7 +36,6 @@ RCONFLICTS_update-alternatives-cworth = "update-alternatives-dpkg"
 RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_update-alternatives} opkg-config-base"
 RDEPENDS_${PN}_class-native = ""
 RDEPENDS_${PN}_class-nativesdk = ""
-PACKAGE_ARCH_update-alternatives-cworth = "all"
 RREPLACES_${PN} = "opkg-nogpg"
 
 PACKAGES =+ "libopkg-dev libopkg-staticdev libopkg update-alternatives-cworth"
Signature · 1 line
1.8.0
#2 lore raw
In reply to Martin Jansa
Quoted 7 lines · Martin Jansa

* if bsp needs some special rule for udev
* see https://bugzilla.yoctoproject.org/show_bug.cgi?id=3390 for details

---
 meta/recipes-core/udev/udev-extraconf_1.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

I've been thinking about this and some other related problems. There is a pattern and we need to be able to inherit allarch but disable it's functionality.

I've therefore just posted an alternative proposed fix for this.

Cheers,

Richard