Removing a package from an image
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?
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 8 lines · Gary Thomas
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.
Quoted 5 lines
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.
Quoted 13 lines · Nicolas Dechesne
Quoted 12 lines · Gary Thomas
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)}"
Quoted 7 lines
Quoted 1 line
How can I "filter out" this extra/unwanted/setting?
you can use
BAD_RECOMMENDATIONSvariable to list packages that must be filtered out during image creation. howeverBAD_RECOMMENDATIONSdoes not work with allIMAGE_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.
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 4 lines · Gary Thomas
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