ipkg-build: use deterministic timestamps in ipk tarballs
authorJohn Crispin <blogic@openwrt.org>
Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)
committerJohn Crispin <blogic@openwrt.org>
Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)
commitb5f4a9f364263f9f1fdc5093b00b223154aaf5fc
tree7ef7326177e8a240df113d73dcc1af3ffacc814f
parentb836f5605179990459d3e22aea192527208902f8
ipkg-build: use deterministic timestamps in ipk tarballs

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
scripts/ipkg-build