void-mklive/build-rootfs.sh.in

14 lines
212 B
Bash
Raw Normal View History

#!/bin/sh
set -e
TARGET="$1"
2015-05-16 17:45:51 +00:00
PLATFORMS="beaglebone cubieboard2 cubietruck odroid-u2 rpi rpi2 usbarmory"
for f in ${PLATFORMS}; do
if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then
./mkrootfs.sh $@ $f
fi
done