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
|
#!/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_CERTIFICATES = "yes" ]
then
# this always builds the guest images too
$DIR/scripts/build-certs || exit 1
elif [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
then
$DIR/scripts/build-guestimages || exit 1
fi
|