--install-purelib=$(DESTDIR)/$(datadir)/NodeManager \
--install-platlib=$(DESTDIR)/$(datadir)/NodeManager \
--install-scripts=$(DESTDIR)/$(bindir)
+ chmod +x $(DESTDIR)/$(datadir)/NodeManager/conf_files.py
# might be better in setup.py ?
# NOTE: the sliver-initscripts/ and sliver-systemd stuff, being, well, for slivers,
################################################## devel-oriented
tags:
- (find . '(' -name '*.py' -o -name '*.c' -o -name '*.spec' ')' ; ls initscripts/*) | xargs etags
+ git ls-files | xargs etags
.PHONY: tags
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
@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"