[oe-commits] [openembedded-core] 15/15: package_ipk: Add missing variables to the task hash

git at git.openembedded.org git at git.openembedded.org
Sun Feb 23 10:08:47 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d8b77d837b1a788426a1ccaff66bf26ccef55706
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Feb 23 10:05:01 2020 +0000

    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 at linuxfoundation.org>
---
 meta/classes/package_ipk.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 25d1ab7..c008559 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list