aboutsummaryrefslogtreecommitdiffstats
path: root/run-all.sh
blob: 24ae1546a9e33fe51959c3f0dc476fe93cd8ddcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh

BASE="$(dirname $0)"

case "$(hostname --short)" in
arm-b32 | cubietruck)
	# rebuild images
	./F25-rpi32.sh		|| exit 1
	./F25-efi-armv7.sh	|| exit 1
	;;
arm-b64)
	# rebuild images
	./F25-rpi64-fedora.sh	|| exit 1
	./F25-rpi64-kraxel.sh	|| exit 1
	./F25-efi-grub2.sh	|| exit 1
#	./F25-efi-systemd.sh	|| exit 1
	;;
nilsson)
	# rebuild images
	export IMAGEFISH_DESTDIR="/vmdisk/ext/imagefish"
	./RHEL73-efi.sh			|| exit 1
	./CentOS7-efi.sh		|| exit 1
	./F25-efi-grub2.sh		|| exit 1
	./F25-efi-systemd.sh		|| exit 1
	linux32 ./F25-efi-grub2.sh	|| exit 1
	linux32 ./F25-efi-systemd.sh	|| exit 1
	;;
*)
	echo "unknown host, don't know what to do"
	exit 1
	;;
esac

exec $BASE/push-images.sh