Skip to content

Commit

Permalink
lxc_init: move up to src/lxc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
RicardoSanchezA authored and Christian Brauner committed Dec 17, 2017
1 parent d1d3676 commit 650f446
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lxc/Makefile.am
Expand Up @@ -261,7 +261,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
Expand Down Expand Up @@ -289,7 +289,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
Expand Down
1 change: 1 addition & 0 deletions src/lxc/tools/lxc_init.c → src/lxc/lxc_init.c
Expand Up @@ -36,6 +36,7 @@
#include <lxc/lxccontainer.h>

#include "log.h"
#include "arguments.h"
#include "error.h"
#include "initutils.h"

Expand Down

0 comments on commit 650f446

Please sign in to comment.