From bb138b9f6b0ae7a77b5be468356a9ed0d7787c88 Mon Sep 17 00:00:00 2001 From: Christos Gavros Date: Fri, 14 Feb 2025 00:33:33 +0100 Subject: corosync: reproducibility issue Corosync is not reproducible due to change of value in NETSNMP_SYS_CONTACT which is set in net-snmp: NETSNMP_SYS_CONTACT = "$ME@$LOC" $ME = whoami $LOC assigned domain name from /etc/resolv.conf Use build in'--with-sys-contact' to overwrite it https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/30/steps/28/logs/stdio CC: Yoann Congal CC: Randy MacLeod Signed-off-by: Christos Gavros Signed-off-by: Khem Raj --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-networking') diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb index d4945e482d..0840e4955b 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb @@ -55,6 +55,8 @@ PACKAGECONFIG[perl] = "--enable-embedded-perl --with-perl-modules=yes, --disable PACKAGECONFIG[smux] = "" PACKAGECONFIG[systemd] = "--with-systemd, --without-systemd" +SYSCONTACT_DISTRO ?= "no-contact-set@example.com" + EXTRA_OECONF = " \ --enable-shared \ --disable-manuals \ @@ -63,6 +65,7 @@ EXTRA_OECONF = " \ --with-persistent-directory=${localstatedir}/lib/net-snmp \ --with-endianness=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ --with-mib-modules='${MIB_MODULES}' \ + --with-sys-contact='${SYSCONTACT_DISTRO}' \ " MIB_MODULES = "" -- cgit v1.2.3-54-g00ecf