Skip to content

Commit ebd6606

Browse files
committed
repart: Add Minimize=best to --make-ddi= partition definitions
Otherwise, repart won't calculate the minimal size of the partition automatically and things will fail once the partitions exceed the minimal partition size (10M).
1 parent bf35f9c commit ebd6606

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

src/partition/definitions/confext.repart.d/10-root.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Format=erofs
1313
CopyFiles=/etc/
1414
Verity=data
1515
VerityMatchKey=root
16+
Minimize=best

src/partition/definitions/confext.repart.d/20-root-verity.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
Type=root-verity
1212
Verity=hash
1313
VerityMatchKey=root
14+
Minimize=best

src/partition/definitions/portable.repart.d/10-root.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ Format=erofs
1313
CopyFiles=/
1414
Verity=data
1515
VerityMatchKey=root
16+
Minimize=best

src/partition/definitions/portable.repart.d/20-root-verity.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
Type=root-verity
1212
Verity=hash
1313
VerityMatchKey=root
14+
Minimize=best

src/partition/definitions/sysext.repart.d/10-root.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ CopyFiles=/usr/
1414
CopyFiles=/opt/
1515
Verity=data
1616
VerityMatchKey=root
17+
Minimize=best

src/partition/definitions/sysext.repart.d/20-root-verity.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
Type=root-verity
1212
Verity=hash
1313
VerityMatchKey=root
14+
Minimize=best

0 commit comments

Comments
 (0)