]> code.ossystems Code Review - openembedded-core.git/commitdiff
package_*.bbclass: Ensure OVERRIDES doesn't change sstate signature
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Aug 2015 16:57:37 +0000 (17:57 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 30 Aug 2015 11:34:21 +0000 (12:34 +0100)
Changes to OVERRIDES (e.g. from changing MACHINE) should not change
the sstate signatures of do_package_write_*. Exclude the variable
explicitly in the package classes to avoid this.

(From OE-Core rev: 5826a9260138c437f87ba1a9f84d5c08442b997d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass
meta/classes/package_rpm.bbclass

index 398ceeeb28d7eed8c7e931af67a83fd6d1fd9869..d2fea4fcc2ac516f5358747fefb224b6848f7ccb 100644 (file)
@@ -288,6 +288,9 @@ python do_package_deb () {
         cleanupcontrol(root)
         bb.utils.unlockfile(lf)
 }
+# Otherwise allarch packages may change depending on override configuration
+do_package_deb[vardepsexclude] = "OVERRIDES"
+
 
 SSTATETASKS += "do_package_write_deb"
 do_package_write_deb[sstate-inputdirs] = "${PKGWRITEDIRDEB}"
index a0fa62c28ca000116df6a70e03ff7eb8f5fbb043..4dd7a7e5c951c7a4942a9e89b4aabf3d9c8bf303 100644 (file)
@@ -250,6 +250,8 @@ python do_package_ipk () {
         bb.utils.unlockfile(lf)
 
 }
+# Otherwise allarch packages may change depending on override configuration
+do_package_ipk[vardepsexclude] = "OVERRIDES"
 
 SSTATETASKS += "do_package_write_ipk"
 do_package_write_ipk[sstate-inputdirs] = "${PKGWRITEDIRIPK}"
index 8fd068525b27904f2c8da17e7bc536ad261fde4e..264438b442c47998ed4d3055d182b9bfcba0b77d 100644 (file)
@@ -645,6 +645,8 @@ python write_specfile () {
 
     specfile.close()
 }
+# Otherwise allarch packages may change depending on override configuration
+write_specfile[vardepsexclude] = "OVERRIDES"
 
 python do_package_rpm () {
     # We need a simple way to remove the MLPREFIX from the package name,