diff mbox series

[meta-filesystems] zfs: fix host-related reproducibility

Message ID 20241031171316.1996877-1-yoann.congal@smile.fr
State Under Review
Headers show
Series [meta-filesystems] zfs: fix host-related reproducibility | expand

Commit Message

Yoann Congal Oct. 31, 2024, 5:13 p.m. UTC
From: Yoann Congal <yoann.congal@smile.fr>

The zfs package content varies depending the host distro.
To fix this, force target distribution ("vendor") to Debian to match
default values for things like: NFS server service name, bash completion
path, configuration files, ...
The Debian values do match the OpenEmbedded ones.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
That should fix https://valkyrie.yocto.io/pub/repro-fail-openembedded/meta-filesystems/oe-reproducible-20241027-tsrqdzze/packages/diff-html
---
 meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series

Patch

diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
index 504fe28923..1b41deb099 100644
--- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
+++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb
@@ -38,6 +38,12 @@  EXTRA_OECONF:append = " \
     --without-dracutdir --enable-linux-builtin \
 "
 
+# Reproducibility: Force target distribution ("vendor") to Debian to match
+# default values for things like: NFS server service name, bash completion
+# path, configuration files, ...
+# The Debian values do match the OpenEmbedded ones.
+EXTRA_OECONF:append = " --with-vendor=debian"
+
 EXTRA_OEMAKE:append = " \
     INSTALL_MOD_PATH=${D}${root_prefix} \
 "