]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
package_ipk: Add missing variables to the task hash
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 23 Feb 2020 10:05:01 +0000 (10:05 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 23 Feb 2020 23:33:43 +0000 (23:33 +0000)
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>
meta/classes/package_ipk.bbclass

index 25d1ab725adb30f15f2907010af833f6af430bd2..c008559e4ab59da1867f0a4e0a372a4b4b29aa4e 100644 (file)
@@ -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"