autobuild: make sure systemd is enabled on f15+

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reriewed-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
Angus Salkeld 2012-01-18 23:34:36 +11:00
parent 280a71a33c
commit 34e37f130f

View File

@ -45,14 +45,26 @@ fi
if [ -z "$TARGET" ]
then
TARGET=fedora-14-x86_64
TARGET=fedora-16-x86_64
fi
case $TARGET in
fedora-15-x86_64)
EXTRA_WITH=" --with systemd"
;;
fedora-16-x86_64)
EXTRA_WITH=" --with systemd"
;;
fedora-17-x86_64)
EXTRA_WITH=" --with systemd"
;;
*)
esac
RPM_DIR=/var/lib/mock/$TARGET/result
rm -f $RPM_DIR/corosync*.rpm
$LOG "running mock rebuild ($SRPM)"
$MOCK -v -r $TARGET --no-clean --rebuild $SRPM --with testagents --with watchdog --with monitoring
$MOCK -v -r $TARGET --no-clean --rebuild $SRPM --with testagents --with watchdog --with monitoring $EXTRA_WITH
if [ -z "$TEST_NODES" ]
then