summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-23 10:05:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-23 23:33:43 +0000
commit0bfb2e984062e2a00f8989d26aebb89b112d81d2 (patch)
treef1ee49a751ee24039d8e20b1d3d5d852765c4384
parentc392401e10ff43d10b7e57c9d552522a02c91878 (diff)
downloadopenembedded-core-contrib-0bfb2e984062e2a00f8989d26aebb89b112d81d2.tar.gz
openembedded-core-contrib-0bfb2e984062e2a00f8989d26aebb89b112d81d2.tar.bz2
openembedded-core-contrib-0bfb2e984062e2a00f8989d26aebb89b112d81d2.zip
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_ipk.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 25d1ab725a..c008559e4a 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_<pkg> 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"