tools/firmware-utils: use UTC for image timestamps
authorSander Vanheule <sander@svanheule.net>
Thu, 6 Aug 2020 20:10:32 +0000 (22:10 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 7 Aug 2020 07:48:33 +0000 (09:48 +0200)
commit1d7fd423000e1916f3db9745e20d60692403cb05
tree7a19feb277f6761b851ed30814375408c881f247
parent0ac3a3521e349922eaed8483f9079a8dc09722a5
tools/firmware-utils: use UTC for image timestamps

By using localtime() to determine the timestamp that goes into factory
images, the resulting image depends on the timezone of the build system.
Use gmtime() instead, which results in more reproducible images.

Signed-off-by: Sander Vanheule <sander@svanheule.net>
Makefile
src/addpattern.c
src/tplink-safeloader.c