From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [206.46.173.5] (helo=vms173005pub.verizon.net) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1LaIwq-000849-60 for openembedded-devel@lists.openembedded.org; Fri, 20 Feb 2009 01:08:58 +0100 Received: from gandalf.denix.org ([71.255.243.27]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KFC009438A2DSYB@vms173005.mailsrvcs.net> for openembedded-devel@lists.openembedded.org; Thu, 19 Feb 2009 18:06:08 -0600 (CST) Received: by gandalf.denix.org (Postfix, from userid 1000) id 3C1F26B83A8; Thu, 19 Feb 2009 19:06:02 -0500 (EST) Date: Thu, 19 Feb 2009 19:06:02 -0500 From: Denys Dmytriyenko To: openembedded-devel@lists.openembedded.org Message-id: <20090220000602.GE22652@denix.org> References: <1235086132-21843-1-git-send-email-clarson@kergoth.com> <20090219234114.GD22652@denix.org> MIME-version: 1.0 In-reply-to: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Christopher Larson Subject: Re: [PATCH] bitbake.conf: rework FILESPATH generation. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 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: Fri, 20 Feb 2009 00:09:14 -0000 X-List-Received-Date: Fri, 20 Feb 2009 00:09:14 -0000 Content-type: text/plain; charset=us-ascii Content-disposition: inline On Thu, Feb 19, 2009 at 04:58:25PM -0700, Christopher Larson wrote: > > On Feb 19, 2009, at 4:41 PM, Denys Dmytriyenko wrote: > >> On Thu, Feb 19, 2009 at 04:28:52PM -0700, Chris Larson wrote: >>> From: Chris Larson >>> >>> Rework FILESPATH generation to be done in bitbake.conf, avoiding the >>> confusion about it being in multiple places. Adds FILESPATHBASE and >>> FILESPATHPKG which can be manipulated rather than manipulating FILESPATH >>> directly. >>> >>> One usage possibility: >>> >>> FILESPATHBASE =. "${TOPDIR}/files:" >>> >>> Which would let me provide a custom busybox config for this build by >>> copying the defconfig from the openembedded metadata into my >>> build/files/busybox-1.0/ directory, for example. >> >> Can you please provide more details on this example? Thanks. > > Normally, all paths in FILESPATH are relative to FILE_DIRNAME, the location > of the recipe being operated against. With this change, you can place > files which are in SRC_URI as file:// urls in paths relative to other > locations. > > You can do package customizations via changes to file:// files without > mucking up the local clone of the openembedded repository. > > My intent is to create a class to facilitate running make menuconfig on > your kernel and busybox, and retain those changes. Today, people either go > into workdir and customize it there, but those changes are lost when you > clean the package, or they overwrite files in the metadata repository, > which can lead to conflicts, and is just all around more annoying to work > with. It's better to be able to have per build or site wide overrides of > those files. > > Does that answer your question? That would be a very welcome addition! Thanks. -- Denys