testing: Build certificates when make-testing is called

This commit is contained in:
Tobias Brunner 2020-09-22 17:31:45 +02:00
parent a6cd662eed
commit 428c0b293d
2 changed files with 9 additions and 3 deletions

View File

@ -21,7 +21,12 @@ then
$DIR/scripts/build-guestkernel || exit 1
fi
if [ $ENABLE_BUILD_GUESTIMAGES = "yes" ]
if [ $ENABLE_BUILD_CERTIFICATES = "yes" ]
then
$DIR/scripts/build-guestimages $HOSTS || exit 1
# 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

View File

@ -76,11 +76,12 @@ fi
: ${TESTRESULTSDIR=$TESTDIR/testresults}
##############################################################
# Enable particular steps in the make-testing
# Enable particular steps in the make-testing script
#
: ${ENABLE_BUILD_BASEIMAGE=yes}
: ${ENABLE_BUILD_ROOTIMAGE=yes}
: ${ENABLE_BUILD_GUESTKERNEL=yes}
: ${ENABLE_BUILD_CERTIFICATES=yes}
: ${ENABLE_BUILD_GUESTIMAGES=yes}
##############################################################