diff options
author | Juan RP <xtraeme@voidlinux.eu> | 2015-06-07 12:31:45 +0200 |
---|---|---|
committer | Juan RP <xtraeme@voidlinux.eu> | 2015-06-07 12:31:45 +0200 |
commit | 4c81ceefdd67ef6e3ddc397bbecd0becb2745a26 (patch) | |
tree | dab62047f5033638c3c625ac0db8b8edd03de31e /build-arm-images.sh.in | |
parent | 42b599fa979f9d8dda7cbce6b257e161a85ce49d (diff) | |
download | hrmpf-4c81ceefdd67ef6e3ddc397bbecd0becb2745a26.tar.gz hrmpf-4c81ceefdd67ef6e3ddc397bbecd0becb2745a26.tar.xz hrmpf-4c81ceefdd67ef6e3ddc397bbecd0becb2745a26.zip |
build-arm-images: build all rootfs/images.
Diffstat (limited to 'build-arm-images.sh.in')
-rw-r--r-- | build-arm-images.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-arm-images.sh.in b/build-arm-images.sh.in index 08ecf66..e6681ee 100644 --- a/build-arm-images.sh.in +++ b/build-arm-images.sh.in @@ -1,6 +1,7 @@ #!/bin/sh TARGET="$1" +[ -n "$TARGET" ] && shift set -e @@ -8,7 +9,8 @@ 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 + if [ -z "$TARGET" -o "$TARGET" = "$f" ]; then + ./mkrootfs.sh $@ $f ./mkimage.sh void-${f}-rootfs-${DATE}.tar.xz xz -T0 void-${f}-${DATE}.img fi |