diff --git a/image_creator/bundle_volume.py b/image_creator/bundle_volume.py index 53c62f6ee64e3b33d9ece61dc762ea472b9b690b..450d50db486d5702822891ac3da128e92e3b1aa3 100644 --- a/image_creator/bundle_volume.py +++ b/image_creator/bundle_volume.py @@ -211,7 +211,7 @@ class BundleVolume(object): # Add 10% just to be on the safe side part_end = last.start + (new_size * 11) // 10 - # Alighn to 2048 + # Align to 2048 part_end = ((part_end + 2047) // 2048) * 2048 image_disk.setPartitionGeometry( diff --git a/image_creator/os_type/hurd.py b/image_creator/os_type/hurd.py index 34a605de095a34178c45780eee82cb669bc5c42f..98c65e5849377fe2433584e2909fad14cf289489 100644 --- a/image_creator/os_type/hurd.py +++ b/image_creator/os_type/hurd.py @@ -34,7 +34,7 @@ from image_creator.os_type.unix import Unix, sysprep -class Hard(Unix): +class Hurd(Unix): pass # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :