From bf400cd73fad89aff85017dfc4c169e7a39fdc4a Mon Sep 17 00:00:00 2001 From: Yoann Congal Date: Mon, 16 Jun 2025 23:03:01 +0200 Subject: reproducibility: move known non-repro list to layer.conf The current include file that stores the known non-reproducible packages is layer dependent and that forces the user of the layers to maintain the list of the files (for example, see AB config[0]). By moving the exclude list to each layer.conf and extending the common OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES variable, the known non-reproducible packages will be automatically excluded for each layer used in the reproducibility test without any special knowledge in the test environment. NB: the empty list for meta-initramfs was just removed not moved. [0]: https://git.yoctoproject.org/yocto-autobuilder-helper/tree/config.json?id=7d8933e75bdf7fb821a25617cb2dcabf1f3f8700#n322 Suggested-by: Quentin Schulz Co-Developed-by: Guillaume Swaenepoel Signed-off-by: Guillaume Swaenepoel Signed-off-by: Yoann Congal Signed-off-by: Khem Raj --- meta-perl/conf/include/non-repro-meta-perl.inc | 10 ---------- meta-perl/conf/layer.conf | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100755 meta-perl/conf/include/non-repro-meta-perl.inc (limited to 'meta-perl') diff --git a/meta-perl/conf/include/non-repro-meta-perl.inc b/meta-perl/conf/include/non-repro-meta-perl.inc deleted file mode 100755 index 9082691f67..0000000000 --- a/meta-perl/conf/include/non-repro-meta-perl.inc +++ /dev/null @@ -1,10 +0,0 @@ -# List of known non-reproducible package of the meta-perl layer -# Please keep this list sorted -KNOWN_NON_REPRO_META_PERL = " \ - libencode-perl-src \ - libhtml-tree-perl \ - libhtml-tree-perl-doc \ - libmodule-build-tiny-perl \ - po4a \ - po4a-doc \ -" diff --git a/meta-perl/conf/layer.conf b/meta-perl/conf/layer.conf index 33f0822ec0..7ae1a39fcd 100644 --- a/meta-perl/conf/layer.conf +++ b/meta-perl/conf/layer.conf @@ -16,3 +16,14 @@ LAYERVERSION_perl-layer = "1" LAYERDEPENDS_perl-layer = "core openembedded-layer" LAYERSERIES_COMPAT_perl-layer = "walnascar whinlatter" + +# List of known non-reproducible package of the meta-perl layer +# Please keep this list sorted +OEQA_REPRODUCIBLE_EXCLUDED_PACKAGES += " \ + libencode-perl-src \ + libhtml-tree-perl \ + libhtml-tree-perl-doc \ + libmodule-build-tiny-perl \ + po4a \ + po4a-doc \ +" -- cgit v1.2.3-54-g00ecf