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)
commit34271d38ae9087816219de0bf9ff5197483277e6
treedfa63cbecc44909b70150beaa53ec00f8f86f186
parent7673df799496d98f1828152e1542af14f7708790
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>
tools/firmware-utils/Makefile
tools/firmware-utils/src/addpattern.c
tools/firmware-utils/src/tplink-safeloader.c