From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 71D2DE00975; Wed, 14 May 2014 07:22:53 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RDNS_NONE,SPF_HELO_PASS autolearn=no version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [80.91.229.3 listed in list.dnswl.org] * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (auslands-kv[at]gmx.de) * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS Received: from plane.gmane.org (unknown [80.91.229.3]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4420BE006EF for ; Wed, 14 May 2014 07:22:49 -0700 (PDT) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wka51-0003eL-BI for yocto@yoctoproject.org; Wed, 14 May 2014 16:22:47 +0200 Received: from 80-218-32-173.dclient.hispeed.ch ([80.218.32.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 16:22:47 +0200 Received: from auslands-kv by 80-218-32-173.dclient.hispeed.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 14 May 2014 16:22:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: yocto@yoctoproject.org From: Neuer User Date: Wed, 14 May 2014 16:22:35 +0200 Message-ID: References: <1400074572.84934.YahooMailNeo@web122502.mail.ne1.yahoo.com> Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 80-218-32-173.dclient.hispeed.ch User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: Subject: Re: Best way to remove DISTRO_FEATURES? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 May 2014 14:22:53 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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 >