git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
making the source file executable under git was not enough, I suspect setup.py enforc...
[nodemanager.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
5221fa8
..
d6e6b73
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-35,6
+35,7
@@
install: install-miscell install-startup
--install-purelib=$(DESTDIR)/$(datadir)/NodeManager \
--install-platlib=$(DESTDIR)/$(datadir)/NodeManager \
--install-scripts=$(DESTDIR)/$(bindir)
--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,
# might be better in setup.py ?
# NOTE: the sliver-initscripts/ and sliver-systemd stuff, being, well, for slivers,
@@
-107,7
+108,7
@@
debian.clean:
################################################## devel-oriented
tags:
################################################## devel-oriented
tags:
- (find . '(' -name '*.py' -o -name '*.c' -o -name '*.spec' ')' ; ls initscripts/*) | xargs etags
+ git ls-files | xargs etags
.PHONY: tags
.PHONY: tags
@@
-198,3
+199,11
@@
else
@echo "FETCHING key"
+scp $(KEYURL) $@
endif
@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"