diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-03-20 15:37:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-11 07:49:31 +0100 |
commit | 8d009dd8c3c56601905a156cb06f339dd4a298e6 (patch) | |
tree | 443a32bbada6194e38b65820740723a778a19ad8 /meta | |
parent | 20f2670e755bcbf90b2b6c08192c022fe7e7eaad (diff) | |
download | openembedded-core-contrib-8d009dd8c3c56601905a156cb06f339dd4a298e6.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/distcc/distcc_3.2.bb | 4 |
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 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/ |