about summary refs log tree commit diff
path: root/build-arm-images.sh.in
blob: 08ecf66253b291fad274355f47f1c132265cf2a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

TARGET="$1"

set -e

PLATFORMS="beaglebone cubieboard2 cubietruck odroid-u2 rpi rpi2 usbarmory"
DATE=$(date '+%Y%m%d')

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
done