X-Git-Url: http://git.onelab.eu/?p=lxc-userspace.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=2ae907148f21b18894bbc830353269e573703c8c;hp=3e530dd3aecbc5258f8fd1869fb56d552ee35fbf;hb=058206ebf8f17c2f9e740d4ee5116391809a6c76;hpb=c76c44b3f64115d196031bd7aaf29bd4fa4249d0 diff --git a/Makefile b/Makefile index 3e530dd..2ae9071 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,11 @@ ifeq (,$(NODEURL)) @echo " e.g. make sync NODE=vnode01.inria.fr" @exit 1 else - +$(RSYNC) ./lxcsu ./lxcsu-internal ./vsh.c $(NODEURL)/usr/sbin/ + +$(RSYNC) ./slicesu ./lxcsu ./lxcsu-internal ./vsh.c $(NODEURL)/usr/sbin/ ssh -i $(NODE).key.rsa root@$(NODE) chown root:root /usr/sbin/lxcsu + ssh -i $(NODE).key.rsa root@$(NODE) chown root:root /usr/sbin/slicesu ssh -i $(NODE).key.rsa root@$(NODE) chmod u+s /usr/sbin/lxcsu + ssh -i $(NODE).key.rsa root@$(NODE) chmod u+s /usr/sbin/slicesu ssh -i $(NODE).key.rsa root@$(NODE) gcc -o /usr/sbin/vsh /usr/sbin/vsh.c ssh -i $(NODE).key.rsa root@$(NODE) chown root:root /usr/sbin/vsh ssh -i $(NODE).key.rsa root@$(NODE) chmod u+s /usr/sbin/vsh @@ -72,7 +74,9 @@ 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 slicesu /usr/sbin/slicesu install -D -m 755 lxcsu-internal /usr/sbin/lxcsu-internal chmod u+s /usr/sbin/lxcsu + chmod u+s /usr/sbin/slicesu chmod u+s /usr/sbin/vsh cp build/lib*/setns.so /usr/sbin