Commit ced52304 authored by Mike Hibler's avatar Mike Hibler
Browse files

Install the nodecheck scripts on a client or MFS install.

parent 7b6548c7
......@@ -93,7 +93,7 @@ nodecheck-install: dir-install
$(INSTALL) -m 755 $(SRCDIR)/checknode/niccheck $(BINDIR)/niccheck
$(INSTALL) -m 755 $(SRCDIR)/checknode/timecheck $(BINDIR)/timecheck
$(INSTALL) -m 755 $(SRCDIR)/checknode/checknode $(BINDIR)/checknode
$(INSTALL) -m 755 $(SRCDIR)/checknode/rc.nodecheck $(BINDIR)/rc/
$(INSTALL) -m 755 $(SRCDIR)/checknode/rc.nodecheck $(RCDIR)/rc.nodecheck
common-script-install: dir-install
$(INSTALL) -m 755 $(SRCDIR)/libsetup.pm $(BINDIR)/libsetup.pm
......@@ -147,7 +147,7 @@ symlinks: dir-install
rm -f $(TBLIBDIR)
ln -s $(CLIENT_BINDIR) $(TBLIBDIR)
local-script-install: common-script-install
local-script-install: common-script-install nodecheck-install
$(INSTALL) -m 755 $(SRCDIR)/sendevent $(BINDIR)/sendevent
$(INSTALL) -m 755 $(SRCDIR)/rc.testbed $(RCDIR)/rc.testbed
$(INSTALL) -m 755 $(SRCDIR)/rc.bootsetup $(RCDIR)/rc.bootsetup
......
......@@ -51,6 +51,7 @@ ETCDIR = $(DESTDIR)$(CLIENT_ETCDIR)
BINDIR = $(DESTDIR)$(CLIENT_BINDIR)
VARDIR = $(DESTDIR)$(CLIENT_VARDIR)
RCDIR = $(DESTDIR)/usr/local/etc/rc.d
CSRCDIR = $(SRCDIR)/../common
ISMFS = $(ETCDIR)/ismfs
INSTALL = /usr/bin/install -c
......@@ -87,6 +88,22 @@ mfs-install: destdircheck common-install etc-install \
echo >$(ISMFS) "This file indicates its the MFS. DO NOT DELETE!"; \
fi
#
# Include this if you want to install the nodecheck scripts in the frisbee MFS
# XXX duplicates common/GNUmakefile's nodecheck_install with different
# SRCDIR and BINDIR.
#
frisbee-nodecheck-install: destdircheck
$(INSTALL) -m 644 $(CSRCDIR)/checknode/checkutils.sh $(SYSETCDIR)/testbed/
$(INSTALL) -m 644 $(CSRCDIR)/checknode/hbis.sh $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/cpucheck $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/diskcheck $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/memcheck $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/niccheck $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/timecheck $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/checknode $(SYSETCDIR)/testbed/
$(INSTALL) -m 755 $(CSRCDIR)/checknode/rc.nodecheck $(SYSETCDIR)/testbed/
#
# XXX butt-uglies live here:
# - hardwire /etc/testbed instead of $(ETCDIR)
......@@ -94,7 +111,7 @@ mfs-install: destdircheck common-install etc-install \
# root's shell as sh instead of csh, we just link sh to csh in the MFS.
# - no ismfs file since we don't run any perl scripts that need it
#
frisbee-mfs-install: destdircheck
frisbee-mfs-install: destdircheck frisbee-nodecheck-install
$(INSTALL) -m 644 $(SRCDIR)/frisbee/rc.conf $(SYSETCDIR)/rc.conf
$(INSTALL) -m 644 $(SRCDIR)/frisbee/rc.local $(SYSETCDIR)/rc.local
$(INSTALL) -m 755 $(SRCDIR)/dhclient-exit-hooks \
......@@ -116,7 +133,7 @@ frisbee-mfs-install: destdircheck
$(INSTALL) -m 755 $(SRCDIR)/rc.frisbee $(SYSETCDIR)/testbed
$(INSTALL) -m 755 $(SRCDIR)/rc.ipod $(SYSETCDIR)/testbed
$(INSTALL) -m 755 $(SRCDIR)/slicefix $(SYSETCDIR)/testbed
$(INSTALL) -m 755 $(SRCDIR)/../common/localize_image $(SYSETCDIR)/testbed
$(INSTALL) -m 755 $(CSRCDIR)/localize_image $(SYSETCDIR)/testbed
$(INSTALL) -m 755 $(SRCDIR)/camwce $(SYSETCDIR)/testbed
$(INSTALL) -m 755 -s ../tmcc-nossl $(SYSETCDIR)/testbed/tmcc
$(INSTALL) -m 755 -s ../findif $(SYSETCDIR)/testbed
......
Supports Markdown
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