Bug 15580 - dm-verity checking fails when both dm-verity and sparse image are enabled
Summary: dm-verity checking fails when both dm-verity and sparse image are enabled
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 0.0.0
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-08-20 13:00 UTC by Marcin Bajer
Modified: 2024-08-22 14:36 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Bajer 2024-08-20 13:00:41 UTC
Seems dm-verity checking fails while using sparse format image. I think the problem is a commit:

https://git.openembedded.org/meta-openembedded/commit/meta-oe/classes/image_types_sparse.bbclass?h=master-next&id=9862a017fa7f88424f0670ba89af58e5051550b0

which in my opinion changes the content of ext4 image included in the wic file. Without `-s` option in `img2simg` call the image works wihtout any errors
Comment 1 Randy MacLeod 2024-08-22 14:36:31 UTC
dm-verity is part of meta-openembedded and those bugs aren't handling in this bugzilla. Please send an email or patch to the meta-oe list.