-
Notifications
You must be signed in to change notification settings - Fork 582
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snap/squashfs: enforce a minimum snap size to eliminate some kernel l…
…og noise (#13191) * squashfs: enforce a minimum snap size to eliminate kernel log noise * integrity: update tests to account for new minimum snap size * pack: update tests to account for new minimum snap size * squashfs: rename truncate functions for clarity * squashfs: make comment explaining growing a snap more clear Co-authored-by: Miguel Pires <miguelpires94@gmail.com> * squashfs: add better context to truncation error Co-authored-by: Miguel Pires <miguelpires94@gmail.com> * squashfs: split error if check onto multiple lines * snap/pack: make test data consistent with new snap size * snap/pack: update comment to be consistent with new snap size * snap/squashfs: use more suited check comparator * snap/integrity: add comment explaining calculation of verityHashSize * pack: add comment explaining verityHashSize * s/squashfs: log random snap data in test failure to enable reproduction * s/squashfs: reduce mocking needed by calling actual mksquashfs command --------- Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
- Loading branch information
1 parent
402fdde
commit 5bae3c1
Showing
4 changed files
with
100 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters