aboutsummaryrefslogtreecommitdiffstats
path: root/run-all.sh
blob: f58b813f934cafe633018d4f811a2bcb66fc1916 (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
35
36
37
38
39
40
41
42
43
44
#!/bin/sh

BASE="$(dirname $0)"

case "$(hostname --short)" in
arm-b32 | cubietruck)
	# rebuild images
	./Fedora-efi-grub2.sh			|| exit 1
	;;

arm-b64)
	# rebuild images
	./Fedora-efi-grub2.sh 			|| exit 1
#	./Fedora-efi-systemd.sh 		|| exit 1
	./CentOS8-efi.sh			|| exit 1
	;;

fedora)
	# rebuild images
	export IMAGEFISH_DESTDIR="$HOME/imagefish"
	./Fedora-efi-grub2.sh			|| exit 1
	./Fedora-efi-systemd.sh			|| exit 1
	;;

sirius)
	# rebuild images
	export IMAGEFISH_DESTDIR="/vmdisk/hdd/imagefish"

	./RHEL7-efi.sh		7.6		|| exit 1
	./RHEL7-efi.sh		7.7		|| exit 1
	./RHEL8-efi.sh		8.0.0		|| exit 1
	./RHEL8-efi.sh		8.1.0		|| exit 1
	./CentOS7-efi.sh			|| exit 1
	./CentOS8-efi.sh	8		|| exit 1
	./CentOS8-efi.sh	8-stream	|| exit 1
	;;

*)
	echo "unknown host, don't know what to do"
	exit 1
	;;
esac

#exec $BASE/push-images.sh