From f3dbf8f674930cc9035e5f7da5528611cf1c6d25 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 11 Apr 2013 15:55:15 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/rpm/rpm-postinsts.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/rpm') diff --git a/meta/recipes-devtools/rpm/rpm-postinsts.bb b/meta/recipes-devtools/rpm/rpm-postinsts.bb index b551c8d..a5310b5 100644 --- a/meta/recipes-devtools/rpm/rpm-postinsts.bb +++ b/meta/recipes-devtools/rpm/rpm-postinsts.bb @@ -13,6 +13,7 @@ POSTINSTALL_INITPOSITION ?= "98" POSTLOG ?= "/var/log/postinstall.log" REDIRECT_CMD = "${@base_contains('IMAGE_FEATURES', 'debug-tweaks', '>>${POSTLOG} 2>&1', '', d)}" +REDIRECT_CMD[vardepsexclude] += "IMAGE_FEATURES POSTLOG" do_fetch() { : -- cgit v1.1