From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 98975E00978; Wed, 8 Jul 2015 08:14:30 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [85.214.68.145 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 1488 seconds by postgrey-1.32 at yocto-www; Wed, 08 Jul 2015 08:14:28 PDT Received: from knopper.net (knopper.net [85.214.68.145]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id AD263E0095D for ; Wed, 8 Jul 2015 08:14:28 -0700 (PDT) Received: by knopper.net (Postfix, from userid 26015) id B7BF861FE; Wed, 8 Jul 2015 16:49:37 +0200 (CEST) Date: Wed, 8 Jul 2015 16:50:03 +0200 From: Klaus Knopper To: Yocto Mailinglist Message-ID: <20150708145002.GO5636@knopper.net> MIME-Version: 1.0 Organization: Knopper Networks User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Selecting different kernel inside an image recipe 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, 08 Jul 2015 15:14:30 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello list, I'm trying to build variantions/brands of an image that only differ in kernel configuration and kernel modules included, but everything else stays the same, for the exact same board, as in the main image. Setting PREFERRED_PROVIDER_virtual/kernel = "different_kernel" right inside in the new image recipe does not have any effect, as that variable seems to be evaluated exclusively in the local.conf machine file, which is read by all recipes. I'm confident that it is somehow possible in yocto to create an additional image recipe that only differs in kernel, but I'm missing the HOWTO for this seemingly trivial task. :-( Any hints/links? With kind regards -Klaus