17 lines
609 B
Bash
17 lines
609 B
Bash
case $VARIANT in
|
|
bananapi) ROOTFSINSTALL_ADD="-bpi"; DEVICEARCH=arm ;;
|
|
raspberrypi) ROOTFSINSTALL_ADD="-rpi"; DEVICEARCH=arm ;;
|
|
cubox) ROOTFSINSTALL_ADD="-cubox"; DEVICEARCH=arm ;;
|
|
*) ROOTFSINSTALL_ADD= ; DEVICEARCH=$ARCH ;;
|
|
esac
|
|
|
|
/usr/sbin/rootfsinstall -y $ROOTFSINSTALL_ADD $LOOPDEV \
|
|
$LOCALSTATEDIR/openmamba-rootfs-light-$LANGUAGE.$DEVICEARCH.tar.xz || \
|
|
{ retcode=$?
|
|
echo "$makedist_me: fatal error, aborting installation" >&2
|
|
echo "$makedist_me: exit code was: $retcode" >&2
|
|
echo "$makedist_me: sleeping 600 seconds"
|
|
sleep 600
|
|
{ (exit 1); exit 1; }; }
|
|
|