X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=190cad2b6907d988fb0e706d1ea51cc1ceb2e1f8;hb=1b4f53e648b13f7629970787b6ec03387e2d966a;hp=824138e76feb9329ad49f4251d09e71419aebaa2;hpb=414182fc306d2ca10aff0c1a6074d47b12747069;p=nodemanager.git diff --git a/Makefile b/Makefile index 824138e..190cad2 100644 --- a/Makefile +++ b/Makefile @@ -107,7 +107,7 @@ debian.clean: ################################################## devel-oriented tags: - (find . '(' -name '*.py' -o -name '*.c' -o -name '*.spec' ')' ; ls initscripts/*) | xargs etags + git ls-files | xargs etags .PHONY: tags @@ -135,7 +135,7 @@ NODEURL:=root@$(NODE):/ endif # this is for lxc only, we need to exclude the vs stuff that otherwise messes up everything on node -# xxx keep this in sync with setup.spec +# WARNING: keep this in sync with setup.spec LXC_EXCLUDES= --exclude sliver_vs.py --exclude coresched_vs.py --exclude drl.py # run with make SYNC_RESTART=false if you want to skip restarting nm @@ -198,3 +198,11 @@ else @echo "FETCHING key" +scp $(KEYURL) $@ endif + +########## exp. too +SLICE=inri_sl1 + +syncvinit: + $(RSYNC) sliver-systemd/vinit.st* $(NODEURL)/vservers/$(SLICE)/usr/bin/ + $(RSYNC) sliver-systemd/vinit.service $(NODEURL)/vservers/$(SLICE)/usr/lib/systemd/system/ + echo "remember to run 'systemctl --system daemon-reload' within this slice"