All of lore.kernel.org
 help / color / mirror / Atom feed
* Removing a package from an image
@ 2013-06-27 12:35 Gary Thomas
  2013-06-27 12:57 ` Nicolas Dechesne
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2013-06-27 12:35 UTC (permalink / raw)
  To: Yocto Project

I'm using one of the machines from meta-fsl-arm (i.MX6) which
has this setting in the MACHINE.conf:
   MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " imx-audio"

While this is reasonable for most of these boards, I have one
which has no audio and I'd like to leave this package (and all
that it pulls with it) out of my images.

I tried using this in my image recipe with no joy:
   MACHINE_EXTRA_RRECOMMENDS := "${@oe_filter_out('imx-audio', '${MACHINE_EXTRA_RRECOMMENDS}', d)}"

How can I "filter out" this extra/unwanted/setting?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Removing a package from an image
  2013-06-27 12:35 Removing a package from an image Gary Thomas
@ 2013-06-27 12:57 ` Nicolas Dechesne
  2013-06-27 13:27   ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dechesne @ 2013-06-27 12:57 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Thu, Jun 27, 2013 at 2:35 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> I'm using one of the machines from meta-fsl-arm (i.MX6) which
> has this setting in the MACHINE.conf:
>   MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " imx-audio"
>
> While this is reasonable for most of these boards, I have one
> which has no audio and I'd like to leave this package (and all
> that it pulls with it) out of my images.
>
> I tried using this in my image recipe with no joy:
>   MACHINE_EXTRA_RRECOMMENDS := "${@oe_filter_out('imx-audio',
> '${MACHINE_EXTRA_RRECOMMENDS}', d)}"
>
> How can I "filter out" this extra/unwanted/setting?

you can use BAD_RECOMMENDATIONS variable to list packages that must be
filtered out during image creation. however BAD_RECOMMENDATIONS does
not work with all IMAGE_FSTYPES. I think it only works with ipk for
now.


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

* Re: Removing a package from an image
  2013-06-27 12:57 ` Nicolas Dechesne
@ 2013-06-27 13:27   ` Gary Thomas
  2013-06-27 13:29     ` Nicolas Dechesne
  0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2013-06-27 13:27 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: Yocto Project

On 2013-06-27 06:57, Nicolas Dechesne wrote:
> On Thu, Jun 27, 2013 at 2:35 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> I'm using one of the machines from meta-fsl-arm (i.MX6) which
>> has this setting in the MACHINE.conf:
>>    MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " imx-audio"
>>
>> While this is reasonable for most of these boards, I have one
>> which has no audio and I'd like to leave this package (and all
>> that it pulls with it) out of my images.
>>
>> I tried using this in my image recipe with no joy:
>>    MACHINE_EXTRA_RRECOMMENDS := "${@oe_filter_out('imx-audio',
>> '${MACHINE_EXTRA_RRECOMMENDS}', d)}"
>>
>> How can I "filter out" this extra/unwanted/setting?
>
> you can use BAD_RECOMMENDATIONS variable to list packages that must be
> filtered out during image creation. however BAD_RECOMMENDATIONS does
> not work with all IMAGE_FSTYPES. I think it only works with ipk for
> now.
>

I am using ipk and this does seem to work, thanks.

I'd still be interested to know if there is a more general mechanism
I can use for such things in the future.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: Removing a package from an image
  2013-06-27 13:27   ` Gary Thomas
@ 2013-06-27 13:29     ` Nicolas Dechesne
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Dechesne @ 2013-06-27 13:29 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On Thu, Jun 27, 2013 at 3:27 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> I am using ipk and this does seem to work, thanks.
>
> I'd still be interested to know if there is a more general mechanism
> I can use for such things in the future.

implementation for deb and rpm is coming, based on
https://wiki.yoctoproject.org/wiki/Yocto_Project_v1.5_Status

https://bugzilla.yoctoproject.org/show_bug.cgi?id=4120
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3916


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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 12:35 Removing a package from an image Gary Thomas
2013-06-27 12:57 ` Nicolas Dechesne
2013-06-27 13:27   ` Gary Thomas
2013-06-27 13:29     ` Nicolas Dechesne

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.