[lxc-devel] [PATCH] lxc: don't install setns.h

Cedric Le Goater clg at fr.ibm.com
Thu May 19 07:27:20 UTC 2011


'setns.h' is not an lxc interface.

Also, a side effect of this declaration of 'setns.h' in the lxc header
files is to be distributed in the lxc tarball. This breaks the
lxc-attach command because the file is not automatically generated at
compile time.

Signed-off-by: Cedric Le Goater <clg at fr.ibm.com>
---
 src/lxc/Makefile.am |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am
index df3d4dd..9def453 100644
--- a/src/lxc/Makefile.am
+++ b/src/lxc/Makefile.am
@@ -11,8 +11,7 @@ pkginclude_HEADERS = \
 		conf.h \
 		list.h \
 		log.h \
-		state.h \
-		setns.h
+		state.h
 
 sodir=$(libdir)
 # use PROGRAMS to avoid complains from automake
-- 
1.7.4.4





More information about the lxc-devel mailing list