| Summary: | enhance command_variables() in image.bbclass | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | core | Assignee: | Chen Qi <Qi.Chen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | meta.mr.watcher, meta.watcher |
| Version: | 2.1 | ||
| Target Milestone: | 2.1 M3 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
commit fad63e3ab42d03f0802e8d772b3d28ba9e704ced Author: Chen Qi <Qi.Chen@windriver.com> Date: Tue Feb 16 15:06:05 2016 +0800 coreutils: fix problem with acl for 6.9 version If 'acl' is not in DISTRO_FEATURES, building coreutils 6.9 would sometimes fail. The problem could be reproduced by executing the following command. `bitbake acl && bitbake coreutils -c configure && bitbake acl -c cleansstate && bitbake coreutils -c compile' Fix this problem by setting the correct value for the 'acl' PACKAGECONFIG. [YOCTO #8906] (From OE-Core rev: a9004ff3f8de83d22d9159a9f103e2773e927a0b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> |
Currently: def command_variables(d): return ['ROOTFS_POSTPROCESS_COMMAND','ROOTFS_PREPROCESS_COMMAND','ROOTFS_POSTINSTALL_COMMAND','OPKG_PREPROCESS_COMMANDS','OPKG_POSTPROCESS_COMMANDS','IMAGE_POSTPROCESS_COMMAND', 'IMAGE_PREPROCESS_COMMAND','ROOTFS_POSTPROCESS_COMMAND','POPULATE_SDK_POST_HOST_COMMAND','POPULATE_SDK_POST_TARGET_COMMAND','SDK_POSTPROCESS_COMMAND','RPM_PREPROCESS_COMMANDS', 'RPM_POSTPROCESS_COMMANDS'] do_rootfs[vardeps] += "${@rootfs_variables(d)}" but do_populate_sdk doesn't depend on them, and it can't since a few of them are not related to do_populate_sdk, we may need separate them out (which are for do_rootfs and which are for do_populate_sdk), currently, the problem is when you update SDK_POSTPROCESS_COMMAND, bitbake meta-toolchain doesn't get re-run.