Re: Disable bbappend file from another meta layer


Peter Kjellerstedt
 

-----Original Message-----
From: openembedded-architecture@... <openembedded-
architecture@...> On Behalf Of Andrea Adami
Sent: den 16 september 2021 22:34
To: Andrea Adami <andrea.adami@...>
Cc: Khem Raj <raj.khem@...>; Mayank Agarwal
<mayank77fromindia@...>; bitbake-devel <bitbake-
devel@...>; openembedded-architecture <openembedded-
architecture@...>
Subject: Re: [Openembedded-architecture] Disable bbappend file from
another meta layer

On Thu, Sep 16, 2021 at 10:30 PM Andrea Adami via
lists.openembedded.org <andrea.adami=gmail.com@...>
wrote:

On Thu, Sep 16, 2021 at 7:28 PM Khem Raj <raj.khem@...> wrote:

On Thu, Sep 16, 2021 at 9:45 AM Mayank Agarwal
<mayank77fromindia@...> wrote:

Dear Experts,

Is there any way we can disable bbappend file from another meta-
layer in the current
meta-layer or recipe file.It will be of great help.If we can use
PNBLACKLIST or BBMASK
to disable bbappend file.
bbappends can not be undone sadly, maybe you can try some BBMASKing it
if its in unique location perhaps.
See here one example:
https://github.com/vu-plus/meta-vuplus/blob/master/conf/layer.conf#L4
vs one allowing them
https://git.openembedded.org/meta-handheld/tree/conf/layer.conf#n8
cheers
A.A.
but maybe I misread 'in another meta-layer' out of your control. sorry...
A.A.
Regards
Mayank
It is perfectly fine to add, e.g.:

BBMASK += "/meta-foo/recipes-foo/foo/foo_1.2.3.bbappend"

to, e.g., meta-bar/conf/layer.conf to disable the use of
foo_1.2.3.bbappend from the meta-foo layer when the meta-bar layer is
used.

//Peter

Join openembedded-architecture@lists.openembedded.org to automatically receive all group messages.