X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=f6298c40d5457eabf06a2ecf1cd8be29c17a847d;hb=bc916290e9e64b040b6c063b733c5fc63efca7c6;hp=453ddc441dcc526e3465592886baade46d93c502;hpb=f9921d92b34d10588dc7bb240095fc3fa8f946c5;p=lxc-userspace.git diff --git a/Makefile b/Makefile index 453ddc4..f6298c4 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,11 @@ -all: - python setup.py build +all: vsh setns + +vsh: vsh.c gcc vsh.c -o vsh +setns: setns.c + python setup.py build + ########## sync # for use with the test framework; push local stuff on a test node # howto use: go on testmaster in the build you want to use and just run @@ -59,3 +63,13 @@ else @echo "FETCHING key" +scp $(KEYURL) $@ endif + +### poor man's install + +install: setns vsh + mkdir -p /usr/sbin + install -D -m 755 vsh /usr/sbin/vsh + install -D -m 755 lxcsu /usr/sbin/lxcsu + install -D -m 755 lxcsu-internal /usr/sbin/lxcsu-internal + chmod u+s /usr/sbin/lxcsu + cp build/lib*/setns.so /usr/sbin