mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
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:
@@ -21,6 +21,10 @@ S = "${WORKDIR}/git"
|
|||||||
# configure.ac:30: error: required file './ABOUT-NLS' not found
|
# configure.ac:30: error: required file './ABOUT-NLS' not found
|
||||||
EXTRA_AUTORECONF = ""
|
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(){
|
do_install:append(){
|
||||||
install -d ${D}${sysconfdir}
|
install -d ${D}${sysconfdir}
|
||||||
install -m 0755 minidlna.conf ${D}${sysconfdir}
|
install -m 0755 minidlna.conf ${D}${sysconfdir}
|
||||||
|
|||||||
Reference in New Issue
Block a user