]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc_init: move up to src/lxc
authorRicardoSanchezA <ricardo.sanchez@utexas.edu>
Wed, 6 Dec 2017 15:28:19 +0000 (09:28 -0600)
committerRicardoSanchezA <ricardo.sanchez@utexas.edu>
Wed, 6 Dec 2017 15:28:19 +0000 (09:28 -0600)
lxc_init.c is actually not a tool, thus it doesn't belong to the tools/ subfolder

Signed-off-by: RicardoSanchezA <ricardo.sanchez@utexas.edu>
src/lxc/Makefile.am
src/lxc/lxc_init.c [moved from src/lxc/tools/lxc_init.c with 99% similarity]

index 5c946c12e7bfa873eeebb916df66f7845dc1e01b..868615e29cf8f0f985e4db2ebb27af3f1c1c7d8e 100644 (file)
@@ -276,7 +276,7 @@ lxc_device_SOURCES = tools/lxc_device.c tools/arguments.c
 lxc_execute_SOURCES = tools/lxc_execute.c tools/arguments.c
 lxc_freeze_SOURCES = tools/lxc_freeze.c tools/arguments.c
 lxc_info_SOURCES = tools/lxc_info.c tools/arguments.c
-init_lxc_SOURCES = tools/lxc_init.c tools/arguments.c
+init_lxc_SOURCES = lxc_init.c tools/arguments.c
 lxc_monitor_SOURCES = tools/lxc_monitor.c tools/arguments.c
 lxc_ls_SOURCES = tools/lxc_ls.c tools/arguments.c
 lxc_copy_SOURCES = tools/lxc_copy.c tools/arguments.c
@@ -304,7 +304,7 @@ endif
 if HAVE_STATIC_LIBCAP
 sbin_PROGRAMS += init.lxc.static
 
-init_lxc_static_SOURCES = tools/lxc_init.c error.c log.c initutils.c caps.c \
+init_lxc_static_SOURCES = lxc_init.c error.c log.c initutils.c caps.c \
                          tools/arguments.c
 
 if !HAVE_GETLINE
similarity index 99%
rename from src/lxc/tools/lxc_init.c
rename to src/lxc/lxc_init.c
index 82935a3812692bcb876238e64ae9bb334f0377f4..91e2ce3768a00d4c30cea66cfc820a91b79138c7 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <lxc/lxccontainer.h>
 
-#include "arguments.h"
+#include "tools/arguments.h"
 #include "error.h"
 #include "initutils.h"
 #include "log.h"