Commit bca2c3bb authored by Srikanth Raju's avatar Srikanth Raju Committed by Leigh B Stoller

Teach emulab to install the mysql connector

parent e69e698c
......@@ -141,6 +141,12 @@ sub Install($$$)
}
};
}
Phase "mysql-python", "Installing mysql-connector-python package", sub {
if (! -x $EASYINSTALL) {
PhaseSkip("Couldn't find easy_install. Skilling mysql connector");
}
ExecQuietFatal("$EASYINSTALL mysql-connector-python");
}
};
if (ISFS($server)) {
Phase "fs-packages", "Installing FS packages", sub {
......
......@@ -30,7 +30,7 @@ SYSTEM := $(shell $(TESTBED_SRCDIR)/utils/osstuff.sh -o)
include $(OBJDIR)/Makeconf
all: server
server: tmcd-meta tmcd tmcd.restart
server: tmcd tmcd.restart
# For VPATH.
MOSTLY_SRCDIRS = ${TESTBED_LIBSRCDIR}/libtb ${TESTBED_SRCDIR}/pxe \
......@@ -77,9 +77,6 @@ ifeq ($(EVENTSYS),1)
ELVINFLAGS = -lm -L/usr/local/lib -lpubsub
endif
tmcd-meta:
easy_install mysql-connector
tmcd: tmcd.c ${TMCDLIBS} tmcd.h version.o $(BOOTINFO) $(NOTPMLIB)
$(CC) $(CFLAGS) $(SSLFLAGS) $(TMCDCFLAGS) -o tmcd $< \
version.o $(NOTPMLIB) $(BOOTINFO) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment