From 05bb2b3557260e9f4aa7d9dba98db72841621f82 Mon Sep 17 00:00:00 2001 From: Diederik de Haas Date: Tue, 24 Aug 2021 12:22:12 +0200 Subject: [PATCH] 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 --- raspi_master.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/raspi_master.yaml b/raspi_master.yaml index bb42264..f8cc573 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -12,12 +12,12 @@ steps: fs-type: 'fat32' device: "{{ output }}" start: 4MiB - end: 20% + end: 300MiB tag: /boot - mkpart: primary device: "{{ output }}" - start: 20% + start: 300MiB end: 100% tag: /