summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-25 17:57:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:36:01 +0100
commit66b7dfb73d19f2985f5d755fa30b5a15cbd5b7df (patch)
tree73b627b39b0e264a66a2959a7fb88f5c74a8aee9 /meta/classes/package_rpm.bbclass
parentd1052050bd6594d1d0e8dc1c8edce4866cc669e1 (diff)
downloadpoky-66b7dfb73d19f2985f5d755fa30b5a15cbd5b7df.tar.gz
package_*.bbclass: Ensure OVERRIDES doesn't change sstate signature
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) (From OE-Core rev: 59ccabdfb59a3e0917585dafab7a1e7c71330996) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 8fd068525b..264438b442 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -645,6 +645,8 @@ python write_specfile () {
645 645
646 specfile.close() 646 specfile.close()
647} 647}
648# Otherwise allarch packages may change depending on override configuration
649write_specfile[vardepsexclude] = "OVERRIDES"
648 650
649python do_package_rpm () { 651python do_package_rpm () {
650 # We need a simple way to remove the MLPREFIX from the package name, 652 # We need a simple way to remove the MLPREFIX from the package name,