Skip to content

Populate site config files content to rootfs

Lianhao Lu openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2image: populate site config files into roootfs.meta/classes/image.bbclass meta/classes/siteinfo.bbclass meta/classes/toolchain-scripts.bbclass+29 -70 replies
2/2meta-toolchain/environment: Use site config in rootfs.meta/classes/populate_sdk.bbclass meta/recipes-core/meta/meta-environment.bb meta/recipes-core/meta/meta-toolchain.bb+3 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH Bug #892 v2 0/2] Populate site config files content to rootfs

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(-)