]> 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>
Wed, 14 Nov 2018 03:56:51 +0000 (14:56 +1100)
commit6a9c33fe705a479325b47e518f0eedab3239a6b4
tree7698ef2c4ce077de9e3afe9e728649a4b87624ae
parent8ad5a5187638153aa88a579128d2b2082e861224
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>
lib/flash/flash.c