[yocto] Removing a package from an image
Gary Thomas
gary at mlbassoc.com
Thu Jun 27 06:27:56 PDT 2013
On 2013-06-27 06:57, Nicolas Dechesne wrote:
> On Thu, Jun 27, 2013 at 2:35 PM, Gary Thomas <gary at 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
------------------------------------------------------------
More information about the yocto
mailing list