From: Richard Purdie Date: Fri, 27 Jan 2023 16:32:00 +0000 (+0000) Subject: bitbake.conf: Inject a dash into PN for BB_HASH_CODEPARSER_VALS X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~1852 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e140d98790ce28b440b8e8697a4311658fe4df;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake.conf: Inject a dash into PN for BB_HASH_CODEPARSER_VALS We've had a couple of reports of recipes expecting to be able to call split("-") on PN. There isn't any real harm in adding a dash to the dummy PN value to avoid these errors. Signed-off-by: Richard Purdie --- diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 5aadf6e7078..530b068757b 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -959,7 +959,7 @@ BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \ sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \ recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \ progress mcdepends number_threads" -BB_HASH_CODEPARSER_VALS = "LOGFIFO=/ T=/ WORKDIR=/ DATE=1234 TIME=1234 PV=0.0-1 PN=nopn METADATA_REVISION=1234" +BB_HASH_CODEPARSER_VALS = "LOGFIFO=/ T=/ WORKDIR=/ DATE=1234 TIME=1234 PV=0.0-1 PN=no-pn METADATA_REVISION=1234" MLPREFIX ??= "" MULTILIB_VARIANTS ??= ""