| Summary: | site-config files from meta-toolchain tarball and the relevant meta-environment-xxx ipk file differs | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | liping Ke <liping.ke> |
| Component: | core | Assignee: | Lianhao Lu <lianhao.lu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dongxiao.xu, jessica.zhang, kevin.tian, lianhao.lu, liping.ke, meta.mr.watcher, meta.watcher, poky.bs.watcher, poky.watcher, richard.purdie, sgw, shane.wang |
| Version: | 1.0 | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
liping Ke
2011-03-17 02:57:41 UTC
The site-config file included in the meta-toolchain differs from the file in the corresponding meta-environment-xxx, because the siteinfo_get_files() function in class/siteinfo.bbclass returns different values. This is because the siteinfo_get_files() tries to get the site config files from SITECONFIG_SYSROOTCACHE. When meta-environmet-XXX is being build, there is nothing in SITECONFIG_SYSROOTCACHE. The meta-environment-XXX should be built after all the the packages included in the target rootfs have populated their site config files into SITECONFIG_SYSROOTCACHE. It is confirmed that the CVS project problem has nothing to do with site config files, but only because of the CPPFLAGS. I'll open a new bug about the CVS problem. CCed dongxiao. The site config files are produced by the function siteinfo_get_files() from SITECONFIG_SYSROOTCACHE. This would result the mismatch between the target rootfs and the siteconfig files, because we can't guarantee that all the site config files are populated into the SITECONFIG_SYSROOTCACHE when building the meta-toolchain. Instead of generating the site config file in meta-toolchain, it should be generated during the rootfs generation so each rootfs will have its own site config file that matches the content in rootfs. Patch sent out for review & merge http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=llu/bug892 |