From 26449ccb5b886f8b7909f24ac3d2149bce3f6f54 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Thu, 5 Mar 2015 10:45:46 +0100 Subject: [PATCH] diskimg: fix media size --- platforms/diskimg/pre.inc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platforms/diskimg/pre.inc.sh b/platforms/diskimg/pre.inc.sh index c0bbc46..a31d47b 100644 --- a/platforms/diskimg/pre.inc.sh +++ b/platforms/diskimg/pre.inc.sh @@ -1,7 +1,7 @@ case $VARIANT in - bananapi) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-bpi"; DEVICEARCH=arm; MEDIA_SIZE=1920 ;; - raspberrypi) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-rpi"; DEVICEARCH=arm; MEDIA_SIZE=1920 ;; - cubox) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-cubox" DEVICEARCH=arm; MEDIA_SIZE=1920 ;; + bananapi) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-bpi"; DEVICEARCH=arm; MEDIA_SIZE=2584 ;; + raspberrypi) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-rpi"; DEVICEARCH=arm; MEDIA_SIZE=2584 ;; + cubox) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-cubox" DEVICEARCH=arm; MEDIA_SIZE=2584 ;; livecd) MODE=usbinstall; ROOTFSINSTALL_ADD= ;; *) MODE=rootfsinstall; ROOTFSINSTALL_ADD= ; DEVICEARCH=$ARCH ;; esac