Skip to content

dm-verity checking fails while using sparse format image. #864

Open
@bajerwitharm

Description

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.

As I see without -s image size is much bigger, but still smaller than without sparse formation.

Is there a way to keep sparse format and use dm-verity?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions