Switch to MiB units for partition sizes.

Previously one had to calculate how large the /boot/firmware partition
would be, but expressing it directly in MiB units is much clearer.

This also has the benefit that the /boot/firmware partition's size would
not change if the total image size would be changed.
Such a change should be a deliberate decision and not some side-effect.
As that 'side-effect' did happen since first submitting this patch,
revert the /boot/firmware partition's size back to 300MB.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
This commit is contained in:
Diederik de Haas 2021-08-24 12:22:12 +02:00
parent 0f80bfa650
commit 05bb2b3557
No known key found for this signature in database
GPG Key ID: D76E5BCE787EDB6E
1 changed files with 2 additions and 2 deletions

View File

@ -12,12 +12,12 @@ steps:
fs-type: 'fat32' fs-type: 'fat32'
device: "{{ output }}" device: "{{ output }}"
start: 4MiB start: 4MiB
end: 20% end: 300MiB
tag: /boot tag: /boot
- mkpart: primary - mkpart: primary
device: "{{ output }}" device: "{{ output }}"
start: 20% start: 300MiB
end: 100% end: 100%
tag: / tag: /