summaryrefslogtreecommitdiffstats
path: root/meta
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:38 +0100
commita621109868ca81bc529ae4e35044f5937eb15fc8 (patch)
treeeb4ad29c3847edb38d026695642ab72240a005d8 /meta
parent26cccb93059b8963651b7d17cea2ee95f52633b7 (diff)
downloadpoky-a621109868ca81bc529ae4e35044f5937eb15fc8.tar.gz
distcc-doc_3.2: improve reproducibility
Remove timestamps from metadata of gzip compressed files. (From OE-Core rev: 8d009dd8c3c56601905a156cb06f339dd4a298e6) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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"
40SYSTEMD_PACKAGES = "${PN}" 40SYSTEMD_PACKAGES = "${PN}"
41SYSTEMD_SERVICE_${PN} = "distcc.service" 41SYSTEMD_SERVICE_${PN} = "distcc.service"
42 42
43do_install_append() { 43do_install() {
44 # Improve reproducibility: compress w/o timestamps
45 oe_runmake 'DESTDIR=${D}' "GZIP_BIN=gzip -n" install
44 install -d ${D}${sysconfdir}/init.d/ 46 install -d ${D}${sysconfdir}/init.d/
45 install -d ${D}${sysconfdir}/default 47 install -d ${D}${sysconfdir}/default
46 install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/ 48 install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/