aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ipkg-build
Commit message (Collapse)AuthorAgeFilesLines
* scripts/ipkg-build: fix a build regression introduced in r46360 (fixes #20082)Felix Fietkau2015-07-151-1/+1
| | | | | | | | go to the $TOPDIR directory before trying to extract a git/svn timestamp Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipkg-build: use deterministic timestamps in ipk tarballsJohn Crispin2015-07-141-3/+14
| | | | | | | | | | | As a follow-up to r46026, this commit sets the modification times of files inside the tarballs to deterministic values. It uses the date of the last git or svn commit and falls back to the old behavior if those are not available. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46360 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipkg-build: suppress timestamps in gzip headersFelix Fietkau2015-06-181-0/+1
| | | | | | | | | | | | | | | | 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
* tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/Felix Fietkau2015-03-291-0/+148
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45129 3c298f89-4303-0410-b956-a3cf2f4a3e73