summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2020-01-19 12:59:59 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-03 00:10:11 +0000
commitfdce09a022c988f5988236c114be9e3fa6680eaa (patch)
treeb4cbfc3eae94e0f12a90dcc7b15fadd16adeaa2e /meta/lib
parent94981725b0cb825c3ec3a4b02414055c2191dd86 (diff)
downloadpoky-fdce09a022c988f5988236c114be9e3fa6680eaa.tar.gz
oeqa: reproducible: Do not strip packages
Do not strip packages when testing reproducible builds. In some cases, stripped data differs between builds, but then gets removed. However, the contents affect the generation of the GCC build-id, which then differs in the resulting ELF files, even though the data that caused this is no longer there. Inhibit stripping so that their causes can be evaluated. (From OE-Core rev: 0e23c6faf8169a333ae29064553705b5d7d6b589) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/reproducible.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py
index c261076666..04dc46f38a 100644
--- a/meta/lib/oeqa/selftest/cases/reproducible.py
+++ b/meta/lib/oeqa/selftest/cases/reproducible.py
@@ -148,6 +148,7 @@ class ReproducibleTests(OESelftestTestCase):
148 config = textwrap.dedent('''\ 148 config = textwrap.dedent('''\
149 INHERIT += "reproducible_build" 149 INHERIT += "reproducible_build"
150 PACKAGE_CLASSES = "{package_classes}" 150 PACKAGE_CLASSES = "{package_classes}"
151 INHIBIT_PACKAGE_STRIP = "1"
151 TMPDIR = "{tmpdir}" 152 TMPDIR = "{tmpdir}"
152 ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes), 153 ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes),
153 tmpdir=tmpdir) 154 tmpdir=tmpdir)