[PATCH 4/4] autobuild: make sure systemd is enabled on f15+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
---
 autobuild.sh |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/autobuild.sh b/autobuild.sh
index 79fef54..8faa028 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -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
-- 
1.7.7.5

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux