From: Paul Eggleton Date: Sun, 20 Dec 2015 20:04:59 +0000 (+1300) Subject: buildhistory: fix not recording SDK information X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27897 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11d1aa82ef4a00051e0a50a87a1efed1c50c73b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git buildhistory: fix not recording SDK information After OE-Core revision baa4e43a29e45df17eaa3456acc179b08d571db6 we lost recording SDK the contents in buildhistory. This was due to the SDK_POSTPROCESS_COMMAND variable being set with = in populate_sdk_base.bbclass which overwrote any value set with += in buildhistory.bbclass; to fix it, use _append in buildhistory.bbclass instead. Fixes [YOCTO #8839]. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 6023e5d9a59..c0dba594363 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -532,7 +532,7 @@ POPULATE_SDK_POST_TARGET_COMMAND_append = " buildhistory_list_installed_sdk_targ POPULATE_SDK_POST_HOST_COMMAND_append = " buildhistory_list_installed_sdk_host ;\ buildhistory_get_sdk_installed_host ; " -SDK_POSTPROCESS_COMMAND += "buildhistory_get_sdkinfo ; " +SDK_POSTPROCESS_COMMAND_append = " buildhistory_get_sdkinfo ; " def buildhistory_get_build_id(d): if d.getVar('BB_WORKERCONTEXT', True) != '1':