]> code.ossystems Code Review - openembedded-core.git/commitdiff
abi_version/staging: Bump versions to force rebuild after sstate corruption
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 30 Apr 2020 19:55:39 +0000 (20:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 May 2020 08:08:46 +0000 (09:08 +0100)
A "broken" buildtools-extended-tarball has been released into the wild
where it is optimising binaries for the host processsor. This is fine in
local usage but in a non-homogeneous cluster like our autobuilder, this
results in SIGILL on other machines when the sstate is shared amongst them
and is painful to debug.

The buildtools tarball has been fixed but we need to invalidate the hash
equivalence and sstate data. This change does that. Adding to OE-Core
rather than autobuilder local changes as its good to illustrate how to
do this and the issue is potentially wider than just Yocto Project
infrastructure.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass
meta/conf/abi_version.conf

index 5b04f88b2d8419eaf2cf59514dd51c228c1acb05..de3a19815a35978356b632eb843b23ef8df522b4 100644 (file)
@@ -93,6 +93,7 @@ SYSROOT_PREPROCESS_FUNCS ?= ""
 SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir"
 
 python do_populate_sysroot () {
+    # SYSROOT 'version' 2
     bb.build.exec_func("sysroot_stage_all", d)
     bb.build.exec_func("sysroot_strip", d)
     for f in (d.getVar('SYSROOT_PREPROCESS_FUNCS') or '').split():
index 2bdc55695bd988fae15f34abc744a24a4f6bc187..e04343b47c15a3c56e5385aa34fe2d4b2acc5464 100644 (file)
@@ -12,4 +12,4 @@ OELAYOUT_ABI = "12"
 # a reset of the equivalence, for example when reproducibility issues break the
 # existing match data. Distros can also append to this value for the same effect.
 #
-HASHEQUIV_HASH_VERSION  = "1"
+HASHEQUIV_HASH_VERSION  = "3"