ipkg-build: suppress timestamps in gzip headers
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jun 2015 06:41:45 +0000 (06:41 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 18 Jun 2015 06:41:45 +0000 (06:41 +0000)
commite0ba924f5d03d82beaeb75863380a5749a424fe3
tree0bf466a34b3df398df70e2fa4c79cd3b314f3ab0
parent7e9ba2af892c289c3959e04d3c9a3937382c6fa9
ipkg-build: suppress timestamps in gzip headers

When creating control.tar.gz, data.tar.gz and $package.ipk
tar compresses them with default gzip options.
This includes build timestamps in their gzip headers.
By setting the GZIP env variable to -n, gzip no longer embeds
them, which is a step towards reproducibility.

See also [1] for more detailed motivations.

[1]: https://wiki.debian.org/ReproducibleBuilds/About

Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46026 3c298f89-4303-0410-b956-a3cf2f4a3e73
scripts/ipkg-build