From f135eca2b22e51c3fed1c5f4e87a5ada8918a26d Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Wed, 30 Mar 2016 19:20:42 +0300 Subject: [PATCH] Allow using FAT boot partition with any device --- build-all.sh | 2 +- configuration.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-all.sh b/build-all.sh index c4b3aa61f2..bdffd8ffd0 100644 --- a/build-all.sh +++ b/build-all.sh @@ -39,7 +39,7 @@ while [[ $k1 -lt ${#MYARRAY1[@]} ]] RELEASE=${MYARRAY1[$k1]} BRANCH=$2 unset IFS array DESKTOP_TARGET LINUXFAMILY LINUXCONFIG LINUXKERNEL LINUXSOURCE KERNELBRANCH \ - BOOTLOADER BOOTSOURCE BOOTBRANCH CPUMIN GOVERNOR needs_uboot needs_kernel + BOOTLOADER BOOTSOURCE BOOTBRANCH CPUMIN GOVERNOR needs_uboot needs_kernel BOOTSIZE source $SRC/lib/configuration.sh array=(${DESKTOP_TARGET//,/ }) diff --git a/configuration.sh b/configuration.sh index 86e5347a60..269108be77 100644 --- a/configuration.sh +++ b/configuration.sh @@ -38,7 +38,7 @@ SDSIZE="4000" # SD image size in MB TZDATA=`cat /etc/timezone` # Timezone for target is taken from host or defined here. USEALLCORES="yes" # Use all CPU cores for compiling OFFSET="1" # Bootloader space in MB (1 x 2048 = default) -BOOTSIZE="0" # Mb size of boot partition +BOOTSIZE=${BOOTSIZE-0} # Mb size of boot partition EXIT_PATCHING_ERROR="" # exit patching if failed SERIALCON="ttyS0" MISC1="https://github.com/linux-sunxi/sunxi-tools.git" # Allwinner fex compiler / decompiler