Le ven. 14 févr. 2025 à 00:34, Christos Gavros <gavr...@yahoo.com> a écrit :
> 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 <yoann.con...@smile.fr> > CC: Randy MacLeod <randy.macl...@windriver.com> > Signed-off-by: Christos Gavros <gavr...@yahoo.com> > --- > v1->v2 > * make NETSNMP_SYS_CONTACT configurable for every DISTRO > --- > meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 3 +++ > Hello Christos, Thanks for the patch, nice work :) The title should say "net-snmp: ..." instead (and the commit message explain that you do that to fix corosync reproducibility issue) There is something weird going on: By tracking the reproducibility issue from corosync, we ended up in net-snmp. But net-snmp did not fail the reproducibility test! No need to debug this further, your patch is valid as-is, I just wanted to point out this weirdness. Thanks! > 1 file changed, 3 insertions(+) > > 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-...@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 = "" > -- > 2.34.1 > > -- Yoann Congal Smile ECS - Tech expert
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#115477): https://lists.openembedded.org/g/openembedded-devel/message/115477 Mute This Topic: https://lists.openembedded.org/mt/111173431/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-