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

add checksum check to image copy #209

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

taukakao
Copy link
Member

@taukakao taukakao commented Jan 24, 2024

The old behaviour skipped files that had equal modification time and size. This scenario seemed unlikely but testing showed it isn't.

This was discovered because fsguard would detect the hashes of some files differed from the desktop image.

Comparing hashes sadly takes a bit longer than modification time and size so this will slow down abroot a bit depending on the read speed of the drive being used.

Tested in a VM and it works as expected.

The old behaviour skipped files that had equal modification time and size.
This scenario seemed unlikely but testing showed it isn't.
@mirkobrombin
Copy link
Member

Holding the PR due to internal discussion

@mirkobrombin mirkobrombin marked this pull request as draft January 25, 2024 07:05
@mirkobrombin mirkobrombin marked this pull request as ready for review January 25, 2024 09:47
@mirkobrombin mirkobrombin merged commit 3155efc into Vanilla-OS:main Jan 25, 2024
2 checks passed
@taukakao taukakao deleted the fix-abroot-ingoring-changes branch April 13, 2024 02:43
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

Successfully merging this pull request may close these issues.

2 participants