From d13a1df7bd173fca3fc2cdf889d5eb487e35d6fd Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Tue, 16 Feb 2021 08:43:03 -0600 Subject: acpica: Fix reproducibility issues Fixes reproducibility when build acpica yacc sources by instructing bison on how to do the file prefix mapping Signed-off-by: Joshua Watt Signed-off-by: Richard Purdie --- meta/lib/oeqa/selftest/cases/reproducible.py | 1 - meta/recipes-extended/acpica/acpica_20210105.bb | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/lib/oeqa/selftest/cases/reproducible.py b/meta/lib/oeqa/selftest/cases/reproducible.py index 32016f3e65..0963c2f11a 100644 --- a/meta/lib/oeqa/selftest/cases/reproducible.py +++ b/meta/lib/oeqa/selftest/cases/reproducible.py @@ -28,7 +28,6 @@ import datetime # ruby-ri-docs, meson: #https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/ exclude_packages = [ - 'acpica-src', 'babeltrace2-ptest', 'bootchart2-doc', 'cups', diff --git a/meta/recipes-extended/acpica/acpica_20210105.bb b/meta/recipes-extended/acpica/acpica_20210105.bb index 48b560db53..0188dc8a1b 100644 --- a/meta/recipes-extended/acpica/acpica_20210105.bb +++ b/meta/recipes-extended/acpica/acpica_20210105.bb @@ -34,6 +34,8 @@ EXTRA_OEMAKE = "CC='${CC}' \ PREFIX=${prefix} \ INSTALLDIR=${bindir} \ INSTALLFLAGS= \ + YACC=bison \ + YFLAGS='-y --file-prefix-map=${WORKDIR}=/usr/src/debug/${PN}/${EXTENDPE}${PV}-${PR}' \ " do_install() { -- cgit 1.2.3-korg