[meta-freescale] user layer problem with udev_173.bbappend

Angolini Daiane-B19406 B19406 at freescale.com
Tue Apr 16 09:35:51 PDT 2013


No, I don´t.

This is the definition of oe_filter_out:

def str_filter_out(f, str, d):
    from re import match
    return " ".join(filter(lambda x: not match(f, x, 0), str.split()))

Do you understand it?


Until no one else reply, you can try to force the override (by doing SRC_URI="what you want") And don´t forget to define SRCREV


Daiane



-----Original Message-----
From: Lewis, Nick [mailto:nick.lewis at usa.g4s.com] 
Sent: Tuesday, April 16, 2013 12:13 PM
To: Angolini Daiane-B19406; 'meta-freescale at yoctoproject.org'
Subject: RE: user layer problem with udev_173.bbappend

>> > The amendment is:
>> > $ cat ../sources/meta-nick/recipes-core/udev/udev_173.bbappend
>> > SRC_URI := "${@oe_filter_out('git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git', '${SRC_URI}', d)}"
>> > SRC_URI_prepend = "git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=http "
>>
>>When you using the bbappend you need to think your source code will be appended in the original recipe.
>>
>>Do you really want to overwrite the SRC_URI from original recipe? I don´t know the ":=" operant, what does it do?
>>
>>Daiane
>
>Daiane
>
>Yes I want to overwrite the SRC_URI but with a slightly different url 
>to that used in the fsl bbappend I am lead to believe that bbappends 
>are applied in priority order so the fsl bbappend should be applied 
>before mine
>
>so the url should be changed by the bbappend files as follows: tar --> 
>git;protocol=git --> git;protocol=http
>

I have now tried bitbake -e udev | grep SRC_URI= which gives


# SRC_URI=git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=http git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git file://0001-rip-put-doc-generation-it-depends-on-a-working-docto.patch file://gtk-doc.make file://touchscreen.rules file://modprobe.rules file://default file://init file://cache SRC_URI="git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=http git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git file://0001-rip-put-doc-generation-it-depends-on-a-working-docto.patch file://gtk-doc.make file://touchscreen.rules file://modprobe.rules file://default file://init file://cache"


so the git://git.kernel.org/pub/scm/linux/hotplug/udev.git;protocol=git is not being filtered out Any ideas why not?

--
Nick





More information about the meta-freescale mailing list