-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add image size check to hdd-image.sh (#2965)
There is no sanity check when creating OS images, so when some of the partitions gets too big, part of its data may get overwritten by the following partition, resulting in corrupted image. Add checks for the defined partition sizes and bail out if they're too big.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 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