hooks: put binary hooks into $libexecdir/lxc/hooks

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Wolfgang Bumiller 2015-11-05 15:02:11 +01:00 committed by Stéphane Graber
parent fd51a89b60
commit 16d08ae7e3
2 changed files with 3 additions and 1 deletions

View File

@ -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")

View File

@ -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 = \