From: Juro Bystricky Date: Tue, 20 Mar 2018 22:37:44 +0000 (-0700) Subject: distcc-doc_3.2: improve reproducibility X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~17943 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d009dd8c3c56601905a156cb06f339dd4a298e6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git distcc-doc_3.2: improve reproducibility Remove timestamps from metadata of gzip compressed files. Signed-off-by: Juro Bystricky Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb index ff0e22f9b4d..66046480b90 100644 --- a/meta/recipes-devtools/distcc/distcc_3.2.bb +++ b/meta/recipes-devtools/distcc/distcc_3.2.bb @@ -40,7 +40,9 @@ INITSCRIPT_NAME = "distcc" SYSTEMD_PACKAGES = "${PN}" SYSTEMD_SERVICE_${PN} = "distcc.service" -do_install_append() { +do_install() { + # Improve reproducibility: compress w/o timestamps + oe_runmake 'DESTDIR=${D}' "GZIP_BIN=gzip -n" install install -d ${D}${sysconfdir}/init.d/ install -d ${D}${sysconfdir}/default install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/