void-mklive/build-arm-images.sh.in

16 lines
291 B
Bash
Raw Normal View History

2014-12-15 17:28:57 -01:00
#!/bin/sh
TARGET="$1"
2014-12-15 17:28:57 -01:00
set -e
2015-05-16 17:42:47 +00:00
PLATFORMS="beaglebone cubieboard2 cubietruck odroid-u2 rpi rpi2 usbarmory"
DATE=$(date '+%Y%m%d')
2014-12-15 17:28:57 -01:00
for f in ${PLATFORMS}; do
if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then
./mkimage.sh void-${f}-rootfs-${DATE}.tar.xz
xz -T0 void-${f}-${DATE}.img
fi
2014-12-15 17:28:57 -01:00
done