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)
|
2021-04-24 14:13:52 +02:00
|
|
|
BASE_IMAGE="openmamba-rootfs-light"
|
2021-01-05 12:29:12 +01:00
|
|
|
MODE=rootfsinstall
|
|
|
|
if [ "$ARCH" == "aarch64" ]; then
|
|
|
|
ROOTFSINSTALL_ADD="-rpi64"
|
|
|
|
else
|
|
|
|
ROOTFSINSTALL_ADD="-rpi"
|
|
|
|
fi
|
2021-06-29 11:30:37 +02:00
|
|
|
MEDIA_SIZE=7040 ;;
|
2021-04-24 14:13:52 +02:00
|
|
|
raspberrypi-plasma)
|
|
|
|
BASE_IMAGE="openmamba-rootfs"
|
|
|
|
MODE=rootfsinstall
|
|
|
|
ROOTFSINSTALL_ADD="-rpi64"
|
2021-06-05 14:21:52 +02:00
|
|
|
MEDIA_SIZE=7680 ;;
|
2021-01-05 12:29:12 +01:00
|
|
|
*) MODE=rootfsinstall; ROOTFSINSTALL_ADD= ;;
|
2015-01-10 12:16:25 +01:00
|
|
|
esac
|