diff options
author | Yoann Congal <yoann.congal@smile.fr> | 2024-10-02 21:57:18 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-11-19 13:13:28 -0800 |
commit | 5a5f7d30b8884382adb5eb2fb8c10a191cf136d3 (patch) | |
tree | 841e676942022e6ac4151c0b1df47aeeba5b49d0 | |
parent | 0109f985b678b6621925994f0bfdf2f45a11ac4e (diff) | |
download | meta-openembedded-5a5f7d30b8884382adb5eb2fb8c10a191cf136d3.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>
(cherry picked from commit 51a400b736db3ab075b72f5115f790bb192197bb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-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} |