[yocto] Best way to remove DISTRO_FEATURES?

Vaduva alexandru vaduvajanalexandru at yahoo.com
Wed May 14 07:27:10 PDT 2014


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. autotools-brokensep.bbclass 7.5. base.bbclass 7.6. bin_package.bbclass 7.7. binconfig.bbclass   
View on www.yoctoproject.org Preview by Yahoo  

On Wednesday, May 14, 2014 5:23 PM, Neuer User <auslands-kv at gmx.de> wrote:
 
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 bblayers.conf". So I changed it to 5.

Then bitbake works, but it seems to recompile ALL packages?! Is this
correct. (I stopped it as it will take half a day to finish).

Thanks again for your help!

Michael


Am 14.05.2014 16:13, schrieb Burton, Ross:
> On 14 May 2014 15:03, Neuer User <auslands-kv at 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 actually look at it and see how little
> that conf file is actually doing.  The default values (which is not
> Poky) are a good starting point.
> 
>> Actually, it is not 100% clear to me what the difference and the
>> interaction of "distro" and "image" is.
> 
> Distro affects everything you build, an image is simply instructions
> on how to put some packages together into a disk image.
> 
> Ross
> 


-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140514/d1d30a8a/attachment.html>


More information about the yocto mailing list