From 7cc18c2befba39333e58b897965e7f2244863a0a Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Mon, 15 Mar 2021 20:00:36 +0100 Subject: [PATCH] mkimage.sh: default for bigger boot parition size on pinebookpro --- mkimage.sh.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mkimage.sh.in b/mkimage.sh.in index c6b9b0d..fe7d714 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -121,6 +121,13 @@ case "$PLATFORM" in *) die "The $PLATFORM is not supported, exiting..." esac +# Default for bigger boot partion on pinebookpro since it needs to fit +# at least 2 Kernels + initramfs +case "$PLATFORM" in + pinebookpro*) + : "${BOOT_FSSIZE:=256MiB}" + ;; +esac # By default we build all platform images with a 64MiB boot partition # formated FAT16, and an approximately 1.9GiB root partition formated # ext4. More exotic combinations are of course possible, but this