aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/ipkg-build
Commit message (Collapse)AuthorAgeFilesLines
* scripts: ipkg-build: do not require git or svnJo-Philipp Wich2016-08-151-2/+2
| | | | | | | | Move the "which svn" and "which git" calls next to the timestamp commands using those tools to not prematurely fail on systems where svn or git are not present. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts/ipkg-build: fix deprecated GZIP environment variable warningSyrone Wong2016-05-131-4/+4
| | | | | | | | | | | | According to gzip 1.7 release note: The GZIP environment variable is now obsolescent; gzip now warns if it is used, and rejects attempts to use dangerous options or operands. You can use an alias or script instead. Fix this warning by using pipe instead Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* ipkg-build: add ogargs to outer tar/ipkFelix Fietkau2015-09-111-1/+1
| | | | | | | | prevent name:uid leaks of build system Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46863
* include/image.mk: make tar reproducibleFelix Fietkau2015-09-111-3/+3
| | | | | | | | | several packages reported different file order between builds make binutils, kmod-sched reproducible Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 46859
* 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> SVN-Revision: 46383
* 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> SVN-Revision: 46360
* 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> SVN-Revision: 46026
* 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> SVN-Revision: 45129