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:
parent
0f80bfa650
commit
05bb2b3557
|
@ -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: /
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue