From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com ([192.55.52.93]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QrrcY-0004Jn-N1 for openembedded-core@lists.openembedded.org; Fri, 12 Aug 2011 15:17:54 +0200 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 12 Aug 2011 06:13:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,362,1309762800"; d="scan'208";a="38767588" Received: from llu-piketon.sh.intel.com (HELO localhost) ([10.239.36.146]) by fmsmga002.fm.intel.com with ESMTP; 12 Aug 2011 06:13:20 -0700 From: Lianhao Lu To: openembedded-core@lists.openembedded.org Date: Fri, 12 Aug 2011 21:14:49 +0800 Message-Id: X-Mailer: git-send-email 1.7.0.4 Subject: [PATCH Bug #892 v2 0/2] Populate site config files content to rootfs X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2011 13:17:54 -0000 This series of patches fixed the bug #892. Currently, the site config files used in the cross compiling environment generated by meta-toolchain partly come from SITECONFIG_SYSROOT_CACHE, where each package will put their own site config cache file during their populate-sysroot task. However, there is no way to guarantee the meta-toolchain to collect these site config cache files after all other packages have finished their populate-sysroot tasks. Since we now encourage users to use the same rootfs for both running and cross-compiling, by populating the site config files' content into rootfs and having the CONFIG_SITE pointing to the rootfs, we can gurantee the cross compiling environment not missing any site config cache files' content. The site config files will only be popualted into the image if "dev-pkgs" is in the "IMAGE_FEATURES", so only those -dev/-sdk images will have site config files. The following changes since commit a92d56058b21913570bb17ae416c3b00afce055e: Kumar Gala (1): gnome-doc-utils: respect python-dir setting EXTRA_OECONF are available in the git repository at: git://git.yoctoproject.org/poky-contrib llu/bug892 http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/bug892 Lianhao Lu (2): image: populate site config files into roootfs. meta-toolchain/environment: Use site config in rootfs. meta/classes/image.bbclass | 1 + meta/classes/populate_sdk.bbclass | 2 +- meta/classes/siteinfo.bbclass | 4 ++- meta/classes/toolchain-scripts.bbclass | 31 ++++++++++++++++++++++----- meta/recipes-core/meta/meta-environment.bb | 6 +---- meta/recipes-core/meta/meta-toolchain.bb | 4 +-- 6 files changed, 32 insertions(+), 16 deletions(-)