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

login
register
mail settings
Submitter Martin Jansa
Date Nov. 15, 2012, 10:55 a.m.
Message ID <1352976932-4150-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/39111/
State Superseded, archived
Headers show

Comments

Martin Jansa - Nov. 15, 2012, 10:55 a.m.
* if bsp needs some special rule for udev
* see https://bugzilla.yoctoproject.org/show_bug.cgi?id=3390 for details

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-core/udev/udev-extraconf_1.0.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Richard Purdie - Nov. 25, 2012, 8:38 p.m.
On Thu, 2012-11-15 at 11:55 +0100, Martin Jansa wrote:
> * if bsp needs some special rule for udev
> * see https://bugzilla.yoctoproject.org/show_bug.cgi?id=3390 for details
> 
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  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

Patch

diff --git a/meta/recipes-core/udev/udev-extraconf_1.0.bb b/meta/recipes-core/udev/udev-extraconf_1.0.bb
index 2c4a4f1..fd9a333 100644
--- a/meta/recipes-core/udev/udev-extraconf_1.0.bb
+++ b/meta/recipes-core/udev/udev-extraconf_1.0.bb
@@ -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 \