]> git.ozlabs.org Git - petitboot/commit
lib/flash: Check if the partition is signed
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 17 May 2018 06:08:06 +0000 (16:08 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 8 Jan 2019 01:27:51 +0000 (12:27 +1100)
commit017aada974ef9c322cad412a9832fa1df265267b
treeb316be7a85a97ca6bbe821f015d2e3e6393b3e24
parent93d41f97eedca3684922f4c3cae82d4c74b04210
lib/flash: Check if the partition is signed

In more recent firmware images built by op-build the VERSION partition
is signed, and includes a 'secure header'. Check for this and skip it if
found so we parse the version strings properly.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(cherry picked from commit 6a9c33fe705a479325b47e518f0eedab3239a6b4)
lib/flash/flash.c