aboutsummaryrefslogtreecommitdiff
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-06-15 11:32:34 +0100
commit6c20c550a82aed9e8fa312f09888c8f16250159c (patch)
tree0405b4f52f27544bc0ab368068d24a87ce40c9dc
parenta6e472565c5d5e9e1343278626b3bdd4d5c6fc04 (diff)
downloadopenembedded-core-rocko.zip
openembedded-core-rocko.tar.gz
openembedded-core-rocko.tar.bz2
distcc-doc_3.2: improve reproducibilityrocko-nextrocko
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> Signed-off-by: Armin Kuster <akuster808@gmail.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 e6f159c..fe64c5b 100644
--- a/meta/recipes-devtools/distcc/distcc_3.2.bb
+++ b/meta/recipes-devtools/distcc/distcc_3.2.bb
@@ -41,7 +41,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/