[Devel] [PATCH 1/3] rename and install nsexec

Serge Hallyn serue at us.ibm.com
Mon Feb 15 14:58:14 PST 2010


From: Serge E. Hallyn <serue at us.ibm.com>

Rename nsexeccwp to nsexec, and have it installed into /bin.

Signed-off-by: Serge E. Hallyn <serue at us.ibm.com>
---
 Makefile                |    6 +++---
 nsexeccwp.c => nsexec.c |    0
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename nsexeccwp.c => nsexec.c (100%)

diff --git a/Makefile b/Makefile
index 3281f47..b312358 100644
--- a/Makefile
+++ b/Makefile
@@ -21,7 +21,7 @@ CFLAGS += -g $(WARNS) $(CKPT_INCLUDE) $(DEBUG)
 BIN_INSTALL_DIR = /bin
 LIB_INSTALL_DIR = /lib
 
-ECLONE_PROGS = restart nsexeccwp
+ECLONE_PROGS = restart nsexec
 PROGS =	checkpoint ckptinfo $(ECLONE_PROGS)
 LIB_ECLONE = libeclone.a
 
@@ -67,8 +67,8 @@ ckptinfo_types.c: $(CKPT_HEADERS) ckptinfo.py
 	cat $(CKPT_HEADERS) | ./ckptinfo.py > ckptinfo_types.c
 
 install:
-	@echo /usr/bin/install -m 755 checkpoint restart ckptinfo $(BIN_INSTALL_DIR)
-	@/usr/bin/install -m 755 checkpoint restart ckptinfo $(BIN_INSTALL_DIR)
+	@echo /usr/bin/install -m 755 checkpoint restart nsexec ckptinfo $(BIN_INSTALL_DIR)
+	@/usr/bin/install -m 755 checkpoint restart ckptinfo nsexec $(BIN_INSTALL_DIR)
 	@echo /usr/bin/install -m 755 $(LIB_ECLONE) $(LIB_INSTALL_DIR)
 	@/usr/bin/install -m 755 $(LIB_ECLONE) $(LIB_INSTALL_DIR)
 
diff --git a/nsexeccwp.c b/nsexec.c
similarity index 100%
rename from nsexeccwp.c
rename to nsexec.c
-- 
1.6.0.6

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list