Parcourir la source

mkimage.sh: default for bigger boot parition size on pinebookpro

John Zimmermann il y a 4 ans
Parent
commit
7cc18c2bef
1 fichiers modifiés avec 7 ajouts et 0 suppressions
  1. 7 0
      mkimage.sh.in

+ 7 - 0
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