All of lore.kernel.org
 help / color / mirror / Atom feed
* variable override question
@ 2013-06-25 19:59 Marc Ferland
  2013-06-25 20:13 ` Bruce Ashfield
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Ferland @ 2013-06-25 19:59 UTC (permalink / raw)
  To: yocto

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: variable override question
  2013-06-25 19:59 variable override question Marc Ferland
@ 2013-06-25 20:13 ` Bruce Ashfield
  2013-06-25 21:28   ` Marc Ferland
  0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2013-06-25 20:13 UTC (permalink / raw)
  To: Marc Ferland; +Cc: yocto

On 13-06-25 03:59 PM, Marc Ferland wrote:
> 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?

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

>
> Marc
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: variable override question
  2013-06-25 20:13 ` Bruce Ashfield
@ 2013-06-25 21:28   ` Marc Ferland
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Ferland @ 2013-06-25 21:28 UTC (permalink / raw)
  To: Bruce Ashfield; +Cc: yocto

Bruce Ashfield <bruce.ashfield@windriver.com> writes:

> On 13-06-25 03:59 PM, Marc Ferland wrote:
>> 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?
>
> 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.
>
Nice, exactly what I was looking for!

Thanks,

Marc


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-25 21:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-25 19:59 variable override question Marc Ferland
2013-06-25 20:13 ` Bruce Ashfield
2013-06-25 21:28   ` Marc Ferland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.