From: Wolfgang Bumiller Date: Thu, 5 Nov 2015 14:02:11 +0000 (+0100) Subject: hooks: put binary hooks into $libexecdir/lxc/hooks X-Git-Tag: lxc-2.0.0.beta1~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d08ae7e3897391ca8e2500deaebcf021d5499a;p=thirdparty%2Flxc.git hooks: put binary hooks into $libexecdir/lxc/hooks Signed-off-by: Wolfgang Bumiller Acked-by: Stéphane Graber --- diff --git a/configure.ac b/configure.ac index 874b44638..c5e6d288f 100644 --- a/configure.ac +++ b/configure.ac @@ -539,6 +539,7 @@ AS_AC_EXPAND(LXCROOTFSMOUNT, "$with_rootfs_path") AS_AC_EXPAND(LXCTEMPLATEDIR, "$datadir/lxc/templates") AS_AC_EXPAND(LXCTEMPLATECONFIG, "$datadir/lxc/config") AS_AC_EXPAND(LXCHOOKDIR, "$datadir/lxc/hooks") +AS_AC_EXPAND(LXCBINHOOKDIR, "$libexecdir/lxc/hooks") AS_AC_EXPAND(LXCINITDIR, "$libexecdir") AS_AC_EXPAND(LOGPATH, "$with_log_path") AS_AC_EXPAND(RUNTIME_PATH, "$with_runtime_path") diff --git a/hooks/Makefile.am b/hooks/Makefile.am index 499a2c4cf..23b85c8f3 100644 --- a/hooks/Makefile.am +++ b/hooks/Makefile.am @@ -1,4 +1,5 @@ hooksdir=@LXCHOOKDIR@ +binhooksdir=@LXCBINHOOKDIR@ hooks_SCRIPTS = \ clonehostname \ @@ -6,7 +7,7 @@ hooks_SCRIPTS = \ ubuntu-cloud-prep \ squid-deb-proxy-client -hooks_PROGRAMS = \ +binhooks_PROGRAMS = \ unmount-namespace unmount_namespace_SOURCES = \