[yocto] Is there any way to remove some package frome IMAGE_INSTALL conditionally in local.conf?
tugouxp
13824125580 at 163.com
Wed Aug 1 03:11:52 PDT 2018
hi folks:
i meet an problem that need keep TCLIBC both work in "musl" and "glibc" environment , but a user-defined package cant work with "glibc", so i need to remote them in the "IMAGE_INSTALL" variable,
but i don`t want to offer a seperate "image*.bb" files for this reason because it may be cause the customer misunderstand, so i have a thought to judge the "TCLIBC" and do the remove operation during bitbake runtime in local.conf
like this in local.conf
if TCLIBC == glibc
IMAGE_INSTALL_remove="package1 package2"
else
do nothing
endif
so, how the above pseudo code be implemented in bitbake config files?
thanks for your support.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180801/b07d428d/attachment-0001.html>
More information about the yocto
mailing list