Skip to content

Commit

Permalink
minidlna: fix reproducibility
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
ycongal-smile authored and kraj committed Oct 3, 2024
1 parent 91c7ac0 commit 51a400b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-multimedia/recipes-multimedia/minidlna/minidlna.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 51a400b

Please sign in to comment.