mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
94981725b0
commit
fdce09a022
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user