From: Serge Hallyn Date: Tue, 3 Jun 2014 03:01:26 +0000 (-0500) Subject: add init.lxc.static binary X-Git-Tag: lxc-1.1.0.alpha1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d4b3e3d9123f675fe57affaa0c7c581a80d9109;p=thirdparty%2Flxc.git add init.lxc.static binary To avoid having to copy all the library dependencies into the container. Signed-off-by: Serge Hallyn Acked-by: Stéphane Graber --- diff --git a/src/lxc/Makefile.am b/src/lxc/Makefile.am index ab8a46e6a..588a3ab6a 100644 --- a/src/lxc/Makefile.am +++ b/src/lxc/Makefile.am @@ -199,7 +199,7 @@ bin_PROGRAMS = \ lxc-usernsexec \ lxc-wait -sbin_PROGRAMS = init.lxc +sbin_PROGRAMS = init.lxc init.lxc.static pkglibexec_PROGRAMS = \ lxc-monitord \ lxc-user-nic @@ -233,6 +233,10 @@ lxc_snapshot_SOURCES = lxc_snapshot.c lxc_usernsexec_SOURCES = lxc_usernsexec.c lxc_user_nic_SOURCES = lxc_user_nic.c network.c network.h +init_lxc_static_SOURCES = lxc_init.c error.c log.c utils.c caps.c +init_lxc_static_LDFLAGS = -static +init_lxc_static_LDADD = @CAP_LIBS@ + install-exec-local: install-soPROGRAMS mkdir -p $(DESTDIR)$(datadir)/lxc install -c -m 644 lxc.functions $(DESTDIR)$(datadir)/lxc