Skip to contentSkip to conversation

variable override question

DISCUSSION Marc Ferland 2 participants 3 messages Jun 25, 2013

lore
Share & tools
lore
#0 lore raw

Hi,

I have a linux-yocto_3.4.bbappend file in which I try to override the KERNEL_FEATURES variable. I want it to be empty (I don't want the netfilter stuff that's there by default).

So I've tried (in my bbappend):

KERNEL_FEATURES = ""

but somehow the netfilter.scc file still gets merged in.

What am I doing wrong?

Marc

#1 lore raw
Quoted 6 lines · Marc Ferland

Hi,

I have a linux-yocto_3.4.bbappend file in which I try to override the KERNEL_FEATURES variable. I want it to be empty (I don't want the netfilter stuff that's there by default).

Quoted 7 lines

So I've tried (in my bbappend):

KERNEL_FEATURES = ""

but somehow the netfilter.scc file still gets merged in.

What am I doing wrong?

Nothing. It's an artifact of the _appends that are present in the linux-yocto recipe bbappends. You can clear it, but they'll still append.

Those config fragments weren't optional when the recipes were created, we've since evolved to the point where they are.

I squeezed in a change to linux-yocto_3.8 before the yocto 1.4 cutoff, and have changed linux-yocto_3.4 to match, and strangely, was about to send a consolidated pull request that contains the change.

You can either locally make the same change, and clear:

KERNEL_EXTRA_FEATURES

or wait for my latest update.

Cheers,

Bruce

Quoted 7 lines

Marc
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
Quoted 27 lines · Bruce Ashfield
Quoted 6 lines · Marc Ferland

Hi,

I have a linux-yocto_3.4.bbappend file in which I try to override the KERNEL_FEATURES variable. I want it to be empty (I don't want the netfilter stuff that's there by default).

Quoted 7 lines

So I've tried (in my bbappend):

KERNEL_FEATURES = ""

but somehow the netfilter.scc file still gets merged in.

What am I doing wrong?

Nothing. It's an artifact of the _appends that are present in the linux-yocto recipe bbappends. You can clear it, but they'll still append.

Those config fragments weren't optional when the recipes were created, we've since evolved to the point where they are.

I squeezed in a change to linux-yocto_3.8 before the yocto 1.4 cutoff, and have changed linux-yocto_3.4 to match, and strangely, was about to send a consolidated pull request that contains the change.

Quoted 6 lines

You can either locally make the same change, and clear:

KERNEL_EXTRA_FEATURES

or wait for my latest update.

Nice, exactly what I was looking for!

Thanks,

Marc