appliance-tools/at-fix-primary-part.patch

12 lines
582 B
Diff

--- appliance-tools-007.8/appcreate/partitionedfs.py.orig 2016-09-15 19:14:08.895912451 +0000
+++ appliance-tools-007.8/appcreate/partitionedfs.py 2016-09-15 19:24:12.223323876 +0000
@@ -77,7 +77,7 @@
d = self.disks[p['disk']]
d['numpart'] += 1
- if d['numpart'] > 3 and self.partition_layout == 'msdos':
+ if d['numpart'] > 4 and self.partition_layout == 'msdos':
# Increase allocation of extended partition to hold this partition
d['extended'] += p['size']
p['type'] = 'logical'