Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-16 Thread Neuer User
Am 15.05.2014 22:43, schrieb Richard Purdie: On Wed, 2014-05-14 at 16:42 +0200, Neuer User wrote: Probably solved. It should be include conf/distro/poky.conf instead of include poky.conf. (Stupid newbie error). FWIW if you said require instead of include you'd have got a useful error

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-15 Thread Richard Purdie
On Wed, 2014-05-14 at 16:42 +0200, Neuer User wrote: Probably solved. It should be include conf/distro/poky.conf instead of include poky.conf. (Stupid newbie error). FWIW if you said require instead of include you'd have got a useful error saying it couldn't find the file. Cheers,

[yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Hi I have a small custom image based on the core-image-minimal. Due to some DISTRO features (3g, nfc, a.o.) I get useless packages included (ofono, neard). What is the best way to remove them? Can the distro content be changed? Or would I need to build my own distro? (Which would be not so easy

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Vaduva alexandru
Depending on your situation. If it is a one time yob you can do: DISTRO_FEATURES_remove = x in your local.conf -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Well, no, not a one-time job. So I rather added DISTRO_FEATURES_remove = 3g bluetooth irda nfc zeroconf x11 wayland to my image.bb file. Guess, this is then the recommended way to go? Thanks, Michael Am 14.05.2014 15:36, schrieb Vaduva alexandru: Depending on your situation. If it is a

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Burton, Ross
On 14 May 2014 14:04, Neuer User auslands...@gmx.de wrote: Can the distro content be changed? Or would I need to build my own distro? (Which would be not so easy looking at the complex poky.conf configuration files...) The quick solution is DISTRO_FEATURES_remove=nfc 3g in local.conf. For

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Burton, Ross
On 14 May 2014 14:54, Neuer User auslands...@gmx.de wrote: to my image.bb file. Guess, this is then the recommended way to go? Not in your image recipe, no, as then e.g. connman will still think that you need 3g and nfc. Ross -- ___ yocto mailing

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Philip Balister
On 05/14/2014 09:58 AM, Burton, Ross wrote: On 14 May 2014 14:54, Neuer User auslands...@gmx.de wrote: to my image.bb file. Guess, this is then the recommended way to go? Not in your image recipe, no, as then e.g. connman will still think that you need 3g and nfc. What Ross said. DISTRO

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Anders Darander
* Neuer User auslands...@gmx.de [140514 15:56]: Well, no, not a one-time job. So I rather added DISTRO_FEATURES_remove = 3g bluetooth irda nfc zeroconf x11 wayland to my image.bb file. Guess, this is then the recommended way to go? Well, the quick solution is to add that line to local.conf.

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Am 14.05.2014 15:58, schrieb Burton, Ross: On 14 May 2014 14:54, Neuer User auslands...@gmx.de wrote: to my image.bb file. Guess, this is then the recommended way to go? Not in your image recipe, no, as then e.g. connman will still think that you need 3g and nfc. Ross Right. It doesn't

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Burton, Ross
On 14 May 2014 15:03, Neuer User auslands...@gmx.de wrote: Hmm, so I need my own distro? You don't need to as local.conf is sufficient, but changes to local.conf are specific to *your current* builds. Defining a distro is trivial, just make your own distro.conf and either include poky.conf or

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Ok, thanks, did this: made new file meta-mylayer/conf/distro/mydistro.conf: include poky.conf DISTRO_FEATURES_remove = 3g bluetooth irda nfc zeroconf x11 wayland Then changed conf/local.conf: DISTRO ?= mydistro Then started a bitbake. Got a strange error LCONF_VERSION is 6, should be 5 in

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Vaduva alexandru
Read this for more information and to understand the difference between distro, machine or image features. Yocto Project Reference Manual Yocto Project Reference Manual Chapter7.Classes Table of Contents 7.1. allarch.bbclass 7.2. archiver.bbclass 7.3. autotools.bbclass 7.4.

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Burton, Ross
On 14 May 2014 15:22, Neuer User auslands...@gmx.de wrote: Then started a bitbake. Got a strange error LCONF_VERSION is 6, should be 5 in bblayers.conf. So I changed it to 5. So that's because the Poky layers are a version higher than the oe-core layers. Once you stop using Poky the version

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Am 14.05.2014 16:27, schrieb Burton, Ross: On 14 May 2014 15:22, Neuer User auslands...@gmx.de wrote: Then started a bitbake. Got a strange error LCONF_VERSION is 6, should be 5 in bblayers.conf. So I changed it to 5. So that's because the Poky layers are a version higher than the oe-core

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Neuer User
Probably solved. It should be include conf/distro/poky.conf instead of include poky.conf. (Stupid newbie error). Now bblayers.conf has been automatically updated to 6 again and the system only recompiles a few packages. Should be finished in 10 min or so. :-) Am 14.05.2014 16:35, schrieb

Re: [yocto] Best way to remove DISTRO_FEATURES?

2014-05-14 Thread Burton, Ross
On 14 May 2014 15:35, Neuer User auslands...@gmx.de wrote: Strangely, when adding the DISTRO_FEATURES_remove to local.conf instead of making a new distro, bitbake does not recompile everything?! Well, there's some logic to avoid rebuilds if the distro features change in a way that the recipe