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]>
--- classes/dm-verity-img.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/dm-verity-img.bbclass +1 -1
@@ -146,7 +146,7 @@ verity_setup() { HASH_OFFSET="--hash-offset="$SIZE fi - cp -a $INPUT $OUTPUT + cp -a --sparse=never $INPUT $OUTPUT SETUP_ARGS=" \ ${DM_VERITY_SETUP_ARGS} \
Signature · 1 line
2.43.0