From: Richard Purdie Date: Sun, 23 Feb 2020 10:05:01 +0000 (+0000) Subject: package_ipk: Add missing variables to the task hash X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~11725 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bfb2e984062e2a00f8989d26aebb89b112d81d2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package_ipk: Add missing variables to the task hash Several variables used by the task are not included in the hash, as highlighted by recent changes to MAINTAINERS not causing rebuilds. Fix this. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 25d1ab725ad..c008559e4ab 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -237,6 +237,10 @@ def ipk_write_pkg(pkg, d): cleanupcontrol(root) bb.utils.unlockfile(lf) +# Have to list any variables referenced as X_ that aren't in pkgdata here +IPKEXTRAVARS = "PRIORITY MAINTAINER PACKAGE_ARCH HOMEPAGE" +ipk_write_pkg[vardeps] += "${@gen_packagevar(d, 'IPKEXTRAVARS')}" + # Otherwise allarch packages may change depending on override configuration ipk_write_pkg[vardepsexclude] = "OVERRIDES"