2014-12-15 17:28:57 -01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-04-30 13:17:33 +00:00
|
|
|
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"
|
2015-02-22 07:40:25 -01:00
|
|
|
DATE=$(date '+%Y%m%d')
|
2014-12-15 17:28:57 -01:00
|
|
|
|
2015-02-22 07:40:25 -01:00
|
|
|
for f in ${PLATFORMS}; do
|
2015-04-30 13:17:33 +00:00
|
|
|
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
|