]> code.ossystems Code Review - openembedded-core.git/commitdiff
oeqa: reproducible: Do not strip packages
authorJoshua Watt <jpewhacker@gmail.com>
Sun, 19 Jan 2020 18:59:59 +0000 (12:59 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Feb 2020 00:09:59 +0000 (00:09 +0000)
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.

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

index c26107666647c6cd88f4bb8f8e660fb1c6d5139c..04dc46f38a0e1fe17e04b144a97d25be5e711f67 100644 (file)
@@ -148,6 +148,7 @@ class ReproducibleTests(OESelftestTestCase):
         config = textwrap.dedent('''\
             INHERIT += "reproducible_build"
             PACKAGE_CLASSES = "{package_classes}"
+            INHIBIT_PACKAGE_STRIP = "1"
             TMPDIR = "{tmpdir}"
             ''').format(package_classes=' '.join('package_%s' % c for c in self.package_classes),
                         tmpdir=tmpdir)