firmware-utils: tplink-safeloader: use revision field
authorSander Vanheule <sander@svanheule.net>
Wed, 1 Sep 2021 19:15:57 +0000 (21:15 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Tue, 5 Oct 2021 13:42:00 +0000 (15:42 +0200)
commitcf73a8909553822ef7c28b4e8a3a9e5e9832e7d3
tree89f73d56b55bf1ed62860ee2be8a8e66e6df5a16
parent9003dc12330fe699a4ac93f2038fabf6ef017a3f
firmware-utils: tplink-safeloader: use revision field

The structured soft-version partition has a field which contains a
(source) revision number. Factory images used to include this, but
it was accidentaly removed during an earlier refactoring.

Include the source revision number again in the generated soft-version
partition. Additionaly, also show this revision number when printing
image info.

Fixes: 1a211af2cb3b ("firmware-utils: tplink-safeloader: refactor meta-partition generation")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
src/tplink-safeloader.c