aboutsummaryrefslogtreecommitdiffstats
path: root/testing/make-testing
blob: 84ac20bf2f2bea626df536dbb35d139638ee2d6a (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
#!/bin/bash

DIR=$(dirname `readlink -f $0`)
. $DIR/testing.conf

rm -f $LOGFILE
mkdir -p $BUILDDIR

if [ $ENABLE_BUILD_BASEIMAGE = "yes" ]
then
	$DIR/scripts/build-baseimage || exit 1
fi

if [ $ENABLE_BUILD_ROOTIMAGE = "yes" ]
then
	$DIR/scripts/build-rootimage || exit 1
fi

if [ $ENABLE_BUILD_GUESTKERNEL = "yes" ]
then
	$DIR/scripts/build-guestkernel || exit 1
fi

if [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
then
	$DIR/scripts/build-guestimages $HOSTS || exit 1
fi