On Fri, Feb 24, 2012 at 11:59:29PM +0800, Daniel Veillard wrote:
> ----------------------
> Available at
> http://libvirt.org/git/?p=autotest.git;a=shortlog;h=refs/heads/libvirt-test-API
> there is also a patch from Guannan Ren (way bigger) adding
> libvirt-test-API python test framework to review when you have time :)
> 
> Maybe the script can be renamed to contrib/install-autotest-server.sh
> now ;-)

  followup on the prevous patch, this fixes a server startup error
due to picking the wrong init script. Pushed in the above branch, the
two commits can probably be merged :-)

> ----------------------

    We need to use the redhat ready init script and the lsb package is
    not a requirement anymore

Signed-off-by: Daniel Veillard <[email protected]>

diff --git a/contrib/install-autotest-server-f16.sh 
b/contrib/install-autotest-server-f16.sh
index 4dd96f0..d2eef0d 100755
--- a/contrib/install-autotest-server-f16.sh
+++ b/contrib/install-autotest-server-f16.sh
@@ -168,8 +168,6 @@ print_log "INFO" "Installing development packages"
 yum install -y git java-1.6.0-openjdk-devel >> $LOG 2>&1
 print_log "INFO" "Installing python libraries"
 yum install -y python-imaging python-crypto python-paramiko python-httplib2 
numpy python-matplotlib python-atfork >> $LOG 2>&1
-print_log "INFO" "Installing/updating lsb package"
-yum install -y lsb >> $LOG 2>&1
 print_log "INFO" "Installing/updating selinux policy"
 yum install -y selinux-policy selinux-policy-targeted policycoreutils-python 
>> $LOG 2>&1
 
@@ -314,7 +312,7 @@ fi
 print_log "INFO" "Starting the scheduler"
 if [ -x /etc/init.d/httpd ]
 then
-    cp $ATHOME/utils/autotest.init /etc/init.d/autotest >> $LOG
+    cp $ATHOME/utils/autotest-rh.init /etc/init.d/autotest >> $LOG
     chmod +x /etc/init.d/autotest >> $LOG
     chkconfig --level 2345 autotest on >> $LOG
     /etc/init.d/autotest stop >> $LOG

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to