[oe] how to change system files

Jaap de Jong jaap.dejong at nedap.com
Thu Jun 30 08:32:29 UTC 2011


On 06/28/2011 01:46 PM, Anders Darander wrote:
> On Tue, Jun 28, 2011 at 11:49, Jaap de Jong<jaap.dejong at nedap.com>  wrote:
>> On 06/28/2011 11:23 AM, Anders Darander wrote:
>> Yeah, but what if I decide at a certain point in time to change the
>> /etc/network/interfaces file?
>> Normally I would increment PR in the bb file and then build it.
>> And finally at the target I would do opkg upgrade.
> Just as Phil said, you increment PR in your .bbappend-file.
>
> I'm oftend appending to the PR in my .bbappend-files.
>

I'm having some trouble with it...

If I want to use .bbappend do I need to add bblayers as well?

If I don't I get this error message:

    ERROR: /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend is
    not a BitBake file while parsing
    /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend


Where /home/jdj/oe/mystuff/recipes/netbase/netbase_4.21.bbappend is:

    FILESEXTRAPATHS := "${THISDIR}/${PN}-${PV}"
    PRINC = "1"


If I do use bblayers, I'm not sure about my local.conf. It contains some

    BBFILES, BBFILE_COLLECTIONS, BBFILE_PATTERN_xxx and
    BBFILE_PRIORITY_xxx lines

If I remove these lines then it looks like bitbake can't find any recipe.

Jaap



More information about the Openembedded-devel mailing list