From 2b5f13fea0517acfa590609affc1630524af5c50 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Fri, 18 Dec 2015 16:54:05 +0300 Subject: [PATCH] Size fix for pv --- configuration.sh | 2 +- debootstrap.sh | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/configuration.sh b/configuration.sh index 6de849c9a3..85e61c41a3 100644 --- a/configuration.sh +++ b/configuration.sh @@ -28,7 +28,7 @@ # common options REVISION="5.00" # all boards have same revision - SDSIZE="4000" # SD image size in MB + SDSIZE="4G" # 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 SYSTEMD="no" # Enable or disable systemd on Jessie in debootstrap process diff --git a/debootstrap.sh b/debootstrap.sh index fe3324d26a..2fa059d09f 100644 --- a/debootstrap.sh +++ b/debootstrap.sh @@ -19,10 +19,10 @@ custom_debootstrap (){ #--------------------------------------------------------------------------------------------------------------------------------- # is boot partition to big? -if [ "$SDSIZE" -le "$(($OFFSET+$BOOTSIZE))" ]; then - display_alert "Image size too small." "$BOOTSIZE > $SDSIZE" "err" - exit -fi +#if [ "$SDSIZE" -le "$(($OFFSET+$BOOTSIZE))" ]; then +# display_alert "Image size too small." "$BOOTSIZE > $SDSIZE" "err" +# exit +#fi # create needed directories and mount image to next free loop device rm -rf $DEST/cache/sdcard/