Bug 4246 - Postinst log code results in numerous do_package re-executions when changing IMAGE_FEATURES
Summary: Postinst log code results in numerous do_package re-executions when changing ...
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium normal
Target Milestone: ---
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
: 4134 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-11 08:56 UTC by Paul Eggleton
Modified: 2013-04-11 16:18 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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. ***