[OE-core] Using IMAGE_INSTALL_remove and PNBLACKLIST

Adam Lee adam.yh.lee at gmail.com
Thu Jul 12 18:14:32 UTC 2018


Understood. Thanks!

On Thu, Jul 12, 2018 at 1:41 PM Burton, Ross <ross.burton at intel.com> wrote:

> Blacklist will just make a recipe unavailable, if another package
> depends on something it provides then you get a fatal error.
>
> IMAGE_INSTALL is the "top level" list of packages to install, if one
> of those is a packagegroup that depends on other packages then you
> can't remove those other packages.
>
> At this point you're either:
> 1) bbappending packagegroups to manipulate their dependencies, which
> can get silly, or
> 2) just writing a new image
>
> Ross
>
> On 12 July 2018 at 18:16, Adam Lee <adam.yh.lee at gmail.com> wrote:
> > Right, but I am simply and quickly trying to replicate TI provided SDK
> > image.
> > So RDEPENDS does not get handled by IMAGE_INSTALL_remove / PNBLACKLIST
> > combo, correct?
> >
> > Adam
> >
> > On Thu, Jul 12, 2018 at 12:20 PM Burton, Ross <ross.burton at intel.com>
> wrote:
> >>
> >> Write your own custom image which doesn't include
> >> packagegroup-arago-tisdk-addons?
> >>
> >> Ross
> >>
> >> On 12 July 2018 at 16:19, Adam Lee <adam.yh.lee at gmail.com> wrote:
> >> > I am attempting to exclude a package from my system image with this in
> >> > my
> >> > local.conf:
> >> >
> >> > IMAGE_INSTALL_remove += "tiovx-app-host-examples"
> >> > IMAGE_INSTALL_remove += "tiovx-lib-host"
> >> > IMAGE_INSTALL_remove += "tiovx-app-host"
> >> >
> >> > PNBLACKLIST[tiovx-lib-host] = "Build break"
> >> > PNBLACKLIST[tiovx-app-host] = "Build break"
> >> > PNBLACKLIST[tiovx-app-host-examples] = "Build break"
> >> >
> >> > My build is still failing unfortunately:
> >> >
> >> > ERROR: Nothing RPROVIDES 'tiovx-app-host-examples' (but
> >> >
> >> >
> /home/ylee/tisdk-20180718/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/packagegroups/
> packagegroup-arago-tisdk-addons.bb
> >> > RDEPENDS on or otherwise requires it)
> >> > NOTE: Runtime target 'tiovx-app-host-examples' is unbuildable,
> >> > removing...
> >> > Missing or unbuildable dependency chain was:
> ['tiovx-app-host-examples']
> >> > ERROR: Required build target 'packagegroup-arago-tisdk-addons' has no
> >> > buildable providers.
> >> > Missing or unbuildable dependency chain was:
> >> > ['packagegroup-arago-tisdk-addons', 'tiovx-app-host-examples']
> >> >
> >> > Is there something else I have to do to eliminate a package that is
> >> > runtime
> >> > dependent? Thoughts?
> >> >
> >> > Adam
> >> >
> >> > --
> >> > _______________________________________________
> >> > Openembedded-core mailing list
> >> > Openembedded-core at lists.openembedded.org
> >> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> >> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20180712/25786540/attachment-0002.html>


More information about the Openembedded-core mailing list