void-mklive/build-rootfs.sh.in

14 lines
201 B
Bash
Raw Normal View History

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