2021-01-05 12:29:12 +01:00
|
|
|
DEVICEARCH=$ARCH
|
2015-01-10 12:16:25 +01:00
|
|
|
case $VARIANT in
|
2021-01-05 12:29:12 +01:00
|
|
|
baytrail) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-baytrail"; MEDIA_SIZE=5120 ;;
|
|
|
|
bananapi) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-bpi"; MEDIA_SIZE=4192 ;;
|
|
|
|
cubox) MODE=rootfsinstall; ROOTFSINSTALL_ADD="-cubox"; MEDIA_SIZE=4192 ;;
|
2015-01-10 12:16:25 +01:00
|
|
|
livecd) MODE=usbinstall; ROOTFSINSTALL_ADD= ;;
|
2021-01-05 12:29:12 +01:00
|
|
|
raspberrypi)
|
|
|
|
MODE=rootfsinstall
|
|
|
|
if [ "$ARCH" == "aarch64" ]; then
|
|
|
|
ROOTFSINSTALL_ADD="-rpi64"
|
|
|
|
else
|
|
|
|
ROOTFSINSTALL_ADD="-rpi"
|
|
|
|
fi
|
|
|
|
MEDIA_SIZE=6144 ;;
|
|
|
|
*) MODE=rootfsinstall; ROOTFSINSTALL_ADD= ;;
|
2015-01-10 12:16:25 +01:00
|
|
|
esac
|