summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm-postinsts.bb
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-04-11 15:55:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-11 16:14:01 +0100
commitc14122abe2acebeac5134fee71b1931bde736b85 (patch)
treebccc66f22b93d734bc445c32f2e13960621d1b0d /meta/recipes-devtools/rpm/rpm-postinsts.bb
parent83cc3abf34ddffd6b59d6f7ec8da077532a32f2f (diff)
downloadpoky-c14122abe2acebeac5134fee71b1931bde736b85.tar.gz
dpkg, opkg, rpm-postinsts: avoid repackaging when changing IMAGE_FEATURES
Recipes cannot depend on the value of IMAGE_FEATURES; in this case the result is do_package task signatures changing every time IMAGE_FEATURES changes, causing a large number of task re-executions. The implementation of the log capturing really needs to be changed to capture these in a different place and possibly not even conditional upon IMAGE_FEATURES at all, but this will be invasive at this point in the development cycle. For now, remove the variable dependencies to fix the immediate problem. Fixes [YOCTO #4246]. (From OE-Core rev: b4fbe4095de447ef4e426128bafaf8a292fa63e1) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm-postinsts.bb')
-rw-r--r--meta/recipes-devtools/rpm/rpm-postinsts.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb
index b551c8d4f0..a5310b53bf 100644
--- a/meta/recipes-devtools/rpm/rpm-postinsts.bb
+++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb
@@ -13,6 +13,7 @@ POSTINSTALL_INITPOSITION ?= "98"
13 13
14POSTLOG ?= "/var/log/postinstall.log" 14POSTLOG ?= "/var/log/postinstall.log"
15REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>>${POSTLOG} 2>&1', '', d)}" 15REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>>${POSTLOG} 2>&1', '', d)}"
16REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG"
16 17
17do_fetch() { 18do_fetch() {
18 : 19 :