makedist-openmamba/platforms/diskimg/pre.inc.sh

23 lines
757 B
Bash
Raw Normal View History

DEVICEARCH=$ARCH
case $VARIANT in
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 ;;
livecd) MODE=usbinstall; ROOTFSINSTALL_ADD= ;;
raspberrypi)
BASE_IMAGE="openmamba-rootfs-light"
MODE=rootfsinstall
if [ "$ARCH" == "aarch64" ]; then
ROOTFSINSTALL_ADD="-rpi64"
else
ROOTFSINSTALL_ADD="-rpi"
fi
MEDIA_SIZE=7040 ;;
raspberrypi-plasma)
BASE_IMAGE="openmamba-rootfs"
MODE=rootfsinstall
ROOTFSINSTALL_ADD="-rpi64"
2021-06-05 14:21:52 +02:00
MEDIA_SIZE=7680 ;;
*) MODE=rootfsinstall; ROOTFSINSTALL_ADD= ;;
esac