]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oeqa: reproducible: Preserve sstate mirror for first build
authorJoshua Watt <jpewhacker@gmail.com>
Sat, 31 Aug 2019 01:41:24 +0000 (20:41 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2019 11:45:46 +0000 (12:45 +0100)
commitc4569ec7bab58ed891c41438e2df45318d1b87c2
tree6e7c7fd138b74a895512dbb3281f077cf5256bc6
parent196561b6965af693563c86387f5d87665eaa2656
oeqa: reproducible: Preserve sstate mirror for first build

Preserves the SSTATE_MIRROR variable for the first build in the
reproducible test. This patch is intended to test the theory that using
the Yocto autobuilder sstate mirror will still be reproducible. The
autobuilder always does clean builds and never rebuilds recipes that
were built previously, thus building with the mirror but not
sharing tmpdir and sstate with previous builds should be reproducible.

There is no guarantee that all sstate caches are populated from clean
builds so this patch cannot be submitted to master, and I'm not
bothering sending it to the mailing list.

(From OE-Core rev: 6b8e0077339a89cb01aa40c1b367a4e41a638892)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/reproducible.py