Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to create reproducible ext4 filesystem images #528

Open
AdithyaTSIP opened this issue Jan 9, 2025 · 0 comments
Open

Ability to create reproducible ext4 filesystem images #528

AdithyaTSIP opened this issue Jan 9, 2025 · 0 comments

Comments

@AdithyaTSIP
Copy link

I am working towards reproducible builds for a project that I am involved in which uses debos. We use a few ext4 partitions in our disk images and I am trying to make the ext4 filesystems reproducible.

I understand that e2fsprogs v1.47.1 supports creating reproducible ext4 filesystem images. This works fine when the contents of the filesystem are provided at filesystem creation time. But as per my understanding of debos (looking at [1]) debos creates the partitions first (ex: ext4) and then mounts the partitions based on the mount points specified in the recipes (image-partition action).

The mount operation updates the last mounted and last write time stamps in the ext4 filesystem metadata which leads to reproducibility issues.

I would like to understand if there is a way to make the ext4 filesystem images reproducible even after filesystem operations like mounting and unmounting the filesystem ?

[1] https://github.com/go-debos/debos/blob/main/actions/image_partition_action.go#L620

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant