dm-verity-img.bbclass: set sparse as "never" during initial file copy
PATCH 1/1 dm-verity-img.bbclass: set sparse as "never" during initial file copy
This is needed when a verity image is used in conjunction with tools like a WIC and a bmap file, as avoiding writing "sparse" sectors can result in errors in the signature verification.
Signed-off-by Lorenzo Arena <[email protected]>
Signed-off-by Armin Kuster <[email protected]>
--- classes/dm-verity-img.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/dm-verity-img.bbclass +1 -1
@@ -143,7 +143,7 @@ verity_setup() { HASH_OFFSET="--hash-offset="$SIZE fi - cp -a $INPUT $OUTPUT + cp -a --sparse=never $INPUT $OUTPUT SETUP_ARGS=" \ --data-block-size=${DM_VERITY_IMAGE_DATA_BLOCK_SIZE} \
Signature · 1 line
2.43.0