diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2024-10-02 21:57:18 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-10-02 19:49:52 -0700 |
commit | 51a400b736db3ab075b72f5115f790bb192197bb (patch) | |
tree | 4b8bd6972a58ed8243e04b6b0006837bd28e757e /meta-multimedia | |
parent | 91c7ac099beca35f7081facd82bee27d9aaf46ba (diff) | |
download | meta-openembedded-51a400b736db3ab075b72f5115f790bb192197bb.tar.gz |
minidlna: fix reproducibility
Minidlna configuration puts os name & version in the binary which lead
to non-reproducibility. Fix this by forcing those variables to constant
values.
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/minidlna/minidlna.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc index 8c9ead1489..170e676b24 100644 --- a/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc +++ b/meta-multimedia/recipes-multimedia/minidlna/minidlna.inc | |||
@@ -21,6 +21,10 @@ S = "${WORKDIR}/git" | |||
21 | # configure.ac:30: error: required file './ABOUT-NLS' not found | 21 | # configure.ac:30: error: required file './ABOUT-NLS' not found |
22 | EXTRA_AUTORECONF = "" | 22 | EXTRA_AUTORECONF = "" |
23 | 23 | ||
24 | # Reproducibility: force os-name and os-version to constants to avoid host | ||
25 | # related build differences | ||
26 | EXTRA_OECONF = "--with-os-name='${DISTRO_NAME}' --with-os-version=''" | ||
27 | |||
24 | do_install:append(){ | 28 | do_install:append(){ |
25 | install -d ${D}${sysconfdir} | 29 | install -d ${D}${sysconfdir} |
26 | install -m 0755 minidlna.conf ${D}${sysconfdir} | 30 | install -m 0755 minidlna.conf ${D}${sysconfdir} |