Received: from [66.249.92.172] (helo=ug-out-1314.google.com) by linuxtogo.org with esmtp (Exim 4.68) (envelope-from ) id 1JNuwc-0004Pb-J8 for openembedded-devel@openembedded.org; Sat, 09 Feb 2008 20:00:58 +0100 Received: by ug-out-1314.google.com with SMTP id q7so84168uge.0 for ; Sat, 09 Feb 2008 11:01:12 -0800 (PST) Received: by 10.67.122.12 with SMTP id z12mr6957538ugm.18.1202583672334; Sat, 09 Feb 2008 11:01:12 -0800 (PST) Received: from widy.localdomain ( [78.164.233.103]) by mx.google.com with ESMTPS id w40sm685556ugc.45.2008.02.09.11.01.10 (version=SSLv3 cipher=OTHER); Sat, 09 Feb 2008 11:01:11 -0800 (PST) Date: Sat, 9 Feb 2008 21:04:04 +0200 From: Paul Sokolovsky To: Richard Purdie Message-ID: <20080209210404.00cab759@widy.localdomain> In-Reply-To: <1202582569.7981.4.camel@dax.rpnet.com> References: <20080129011635.42467fc9@widy.localdomain> <1201562570.4687.79.camel@localhost.localdomain> <20080129023105.1a0cf354@widy.localdomain> <1201568452.4687.123.camel@localhost.localdomain> <20080131144417.58877daf@widy.localdomain> <20080209115607.23cb1fbf@widy.localdomain> <1202582569.7981.4.camel@dax.rpnet.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.5; i686-pc-linux-gnu) Mime-Version: 1.0 Cc: openembedded-devel@openembedded.org Subject: Re: [RFC] A case of distro config overriding DISTRO var X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 19:00:58 -0000 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hello, On Sat, 09 Feb 2008 18:42:49 +0000 Richard Purdie wrote: > Hi, > > On Sat, 2008-02-09 at 11:56 +0200, Paul Sokolovsky wrote: > > ============================================================ > > --- classes/image.bbclass > > 4d92381733b09bae07a07da35bd0024744924c3c +++ > > classes/image.bbclass > > 6eeae6a01c36465bc36cc737d42ea6b8ab09b152 @@ -90,6 +90,7 @@ fakeroot > > do_rootfs () { ${IMAGE_PREPROCESS_COMMAND} > > export TOPDIR=${TOPDIR} > > + export DISTRO=${USERDISTRO} > > export MACHINE=${MACHINE} > > This could be rather confusing, can we not have: > > USERDISTRO=${USERDISTRO} > > then its obvious which variable we mean? Not sure I understand. USERDISTRO is the variable which holds *real* DISTRO value, and here, we just use that real value to set a top-level parameter DISTRO for a tool which expects such top-level parameter (bbimage in this case). > > Otherwise its fine with me. > > Cheers, > > Richard > -- Best regards, Paul mailto:pmiscml@gmail.com