ipkg-build: use deterministic timestamps in ipk tarballs
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 09:57:19 +0000 (09:57 +0000)
commitec6315a50f8528748701c8745c5d562571cf23d0
tree7ef7326177e8a240df113d73dcc1af3ffacc814f
parent55d2d1ae98d0d79ca8e37e750cfae7c8ad73f0ec
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