base-files: fix ucert verification
authorFelix Fietkau <nbd@nbd.name>
Tue, 12 Feb 2019 15:37:30 +0000 (16:37 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 12 Feb 2019 15:42:03 +0000 (16:42 +0100)
commitb044b52ab9553b8d94cfc5565d2ea5013364159d
tree7c468694ce471599e58f500df1305594c5a4c532
parent8f4e31ea6eeb3ff70aea8cda53d4ec66ac460ae0
base-files: fix ucert verification

ucert needs to check the firmware part with metadata, but without the signature.
Use the new fwtool mode to extract that without altering the firmware image inside
the check

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/base-files/files/lib/upgrade/fwtool.sh