summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-03-20 15:37:44 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-11 07:49:31 +0100
commit8d009dd8c3c56601905a156cb06f339dd4a298e6 (patch)
tree443a32bbada6194e38b65820740723a778a19ad8
parent20f2670e755bcbf90b2b6c08192c022fe7e7eaad (diff)
downloadopenembedded-core-contrib-8d009dd8c3c56601905a156cb06f339dd4a298e6.tar.gz
openembedded-core-contrib-8d009dd8c3c56601905a156cb06f339dd4a298e6.tar.bz2
openembedded-core-contrib-8d009dd8c3c56601905a156cb06f339dd4a298e6.zip
distcc-doc_3.2: improve reproducibility
Remove timestamps from metadata of gzip compressed files. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb
index ff0e22f9b4..66046480b9 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/