-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a miscalculaton of end of partition parameter for parted. It shall be the last byte of the partition, not start byte + size. This made parted fail when the partition wasn't shrunk by resize2fs. Avoid calling parted if the partition isn't shrunk by resize2fs. Fix a bug where `cleanup_image.sh` script was not aborting in case of errors, thus not revealing a corruption of generated image as reported in #87. Fix a bug where cleanup_image.sh failed using images with more than 10 partitions because of a lazy glob. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
- Loading branch information
Showing
2 changed files
with
37 additions
and
9 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