Bug 4246

Summary: Postinst log code results in numerous do_package re-executions when changing IMAGE_FEATURES
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: coreAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: kai.kang, meta.mr.watcher, meta.watcher, richard.purdie, ross.burton
Version: 1.4   
Target Milestone: ---   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: ---

Description Paul Eggleton 2013-04-11 08:56:51 UTC
The following commits (and the equivalent for rpm) result in adding a dependency on the value of IMAGE_FEATURES to recipes in the packaging path, which results in do_package being re-executed for almost every recipe when the value of IMAGE_FEATURES changes:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0276db5e64e2a233c673e55c3ac1fdefe3030f39

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=f9cfc9f37a375c858dcd62c46617b4d2b3401ea2

Recipes cannot depend on the value IMAGE_FEATURES. Aside from the time taken for rebuilding, I haven't tested but I suspect this will trigger a PR value change when the PR server is being used, which is not acceptable.
Comment 1 Richard Purdie 2013-04-11 11:33:09 UTC
Discussed with Paul and vardepsexclude might be used to avoid some of these issues.
Comment 3 Paul Eggleton 2013-04-11 16:18:12 UTC
*** Bug 4134 has been marked as a duplicate of this bug. ***