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>
This commit is contained in:
Yoann Congal 2024-10-02 21:57:18 +02:00 committed by Khem Raj
parent 91c7ac099b
commit 51a400b736
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -21,6 +21,10 @@ S = "${WORKDIR}/git"
# configure.ac:30: error: required file './ABOUT-NLS' not found
EXTRA_AUTORECONF = ""
# Reproducibility: force os-name and os-version to constants to avoid host
# related build differences
EXTRA_OECONF = "--with-os-name='${DISTRO_NAME}' --with-os-version=''"
do_install:append(){
install -d ${D}${sysconfdir}
install -m 0755 minidlna.conf ${D}${sysconfdir}