[poky] PACKAGE_EXCLUDE not working (Custom layer)

Prasant J pj0585 at gmail.com
Wed Jan 6 22:44:08 PST 2016


On Thu, Jan 7, 2016 at 7:01 AM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
> On Mon, 28 Dec 2015 20:56:37 Prasant J wrote:
>> On Wed, Dec 23, 2015 at 8:51 PM, Prasant J <pj0585 at gmail.com> wrote:
>> >
>> > I'm creating a custom layer for my imx6 based setup.
>> >
>> > In build/conf/local.conf I have added: PACKAGE_EXCLUDE = "imx-lib
>> > imx-test"
>> > but my custom image still tries to build these packages.
>> >
>> >
>> > Can someone please point out the helpful debug commands/steps to figure
>> > out
>> > why these packages are being included?
>> >
>> > Can PACKAGE_EXCLUDE be overridden if some other package depends on the
>> > excluded packages and is included?
>> >
>> >
>> > In my package exclude list I added other package groups that bring imx-lib
>> > & imx-test but still its being build. Any inputs will be of help!
>>
>> I excluded the packages by adding IMAGE_INSTALL_remove = " imx-test
>> imx-lib " to my image recipe.
>
> If this is actually working, and you're using your own custom image recipe why
> not just omit those packages from IMAGE_INSTALL there?
>
> Cheers,
> Paul
>

Good question Paul!

Creating my own image may mean more maintenance work for me to keep it
up with the latest releases. My custom image recipe is a very simple
recipe that appends packages to the default image (This works for me..
at least up till now).


Regards, PJ


More information about the poky mailing list