Skip to content

cpio_utils: verify also image hash while scanning cpio

Stefano babic requested to merge github/fork/stream-mag/cpio into master

Created by: stream-mag

When update from local file is performed, files hashes are verified only during cpio_utils::copyfile called from fs handler and not before. If fs handler (ubi) is not extracting file to ram before writing, unsigned file can be write to fs.

Patch was ported from older version and wasn't tested on current master.

Signed-off-by: Martin Geier martin.geier@streamunlimited.com

Merge request reports