From: Mark Huang Date: Sat, 1 Jul 2006 18:13:31 +0000 (+0000) Subject: now building mysql locally, no longer require third party mysql repository X-Git-Tag: myplc-0_4-rc1~1 X-Git-Url: http://git.onelab.eu/?p=vserver-reference.git;a=commitdiff_plain;h=eb008673d78f694bb44a00749860acbf48744fdb now building mysql locally, no longer require third party mysql repository --- diff --git a/system-packages.sh b/system-packages.sh index 57cd7f8..f574d1c 100755 --- a/system-packages.sh +++ b/system-packages.sh @@ -6,7 +6,7 @@ # Mark Huang # Copyright (C) 2004-2006 The Trustees of Princeton University # -# $Id: system-packages.sh,v 1.1 2006/04/05 20:32:28 mlhuang Exp $ +# $Id: system-packages.sh,v 1.2 2006/04/10 22:21:48 mlhuang Exp $ # export PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -26,41 +26,6 @@ list () fi } -# pl_netflow requires third party MySQL RPMs -mysql_mirrors=( -file:///usr/share/mirrors/mysql -http://boot.planet-lab.org/install-rpms/3rdparty -) - -for mirror in "${mysql_mirrors[@]}" ; do - baseurl=$mirror/ - if list $baseurl | grep -q "MySQL-server.*rpm" ; then - break - fi - unset baseurl -done - -if [ -z "$baseurl" ] ; then - echo "Error: MySQL-server RPM package" - echo " could not be found in any of the following locations:" - echo - for mirror in ${mysql_mirrors[@]} ; do - echo $mirror - done - echo - exit 1 -fi - -# Add MySQL mirror to yum.conf -if ! grep -q mysql $vroot/etc/yum.conf ; then - cat >>$vroot/etc/yum.conf <