#!/bin/bash
-. $PWD/scripts/function.sh
+DIR=$(dirname `readlink -f $0`)
+. $DIR/testing.conf
rm -f $LOGFILE
+mkdir -p $BUILDDIR
if [ $ENABLE_BUILD_BASEIMAGE = "yes" ]
then
- $PWD/scripts/build-baseimage || exit 1
+ $DIR/scripts/build-baseimage || exit 1
fi
-if [ $ENABLE_BUILD_GUESTKERNEL = "yes" ]
+if [ $ENABLE_BUILD_ROOTIMAGE = "yes" ]
then
- $PWD/scripts/build-guestkernel || exit 1
+ $DIR/scripts/build-rootimage || exit 1
fi
-if [ $ENABLE_BUILD_UMLROOTFS = "yes" ]
+if [ $ENABLE_BUILD_GUESTKERNEL = "yes" ]
then
- $PWD/scripts/build-umlrootfs || exit 1
+ $DIR/scripts/build-guestkernel || exit 1
fi
-if [ $ENABLE_BUILD_UMLHOSTFS = "yes" ]
+if [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
then
- $PWD/scripts/build-umlhostfs $HOSTS || exit 1
+ $DIR/scripts/build-guestimages $HOSTS || exit 1
fi