+DEVICE=
+BOOTPART_MB=256
+SUITE=stretch
+
+while getopts "b:s:" opt; do
+ case $opt in
+ b)
+ BOOTPART_MB=$OPTARG
+ ;;
+ s)
+ # Sorry, jessie won't work; the kernel doesn't support XU3/XU4.
+ SUITE=$OPTARG
+ ;;
+ :)
+ echo "Option -$OPTARG requires an argument."
+ exit 1
+ ;;
+ esac
+done
+shift $((OPTIND - 1))