From d0681e32d26895aadcf9afd15aba21a73d70bb4c Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 2 Mar 2016 20:44:29 +0100 Subject: [PATCH] Re-add cgroups agent to the build The helper is now named logind-cgroups-agent. --- Makefile.am | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile.am b/Makefile.am index 710eb7c98..bd2bc927f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -123,6 +123,7 @@ AM_CPPFLAGS = \ -DPOLKIT_AGENT_BINARY_PATH=\"$(PKTTYAGENT)\" \ -DSYSTEM_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/system\" \ -DSYSTEM_DATA_UNIT_PATH=\"$(systemunitdir)\" \ + -DSYSTEMD_CGROUP_AGENT_PATH=\"$(pkglibexecdir)/logind-cgroups-agent\" \ -DUSER_CONFIG_UNIT_PATH=\"$(pkgsysconfdir)/user\" \ -DUSER_DATA_UNIT_PATH=\"$(userunitdir)\" \ -DROOTPREFIX=\"$(rootprefix)\" \ @@ -806,6 +807,16 @@ loginctl_LDADD = \ bin_PROGRAMS += \ loginctl +logind_cgroups_agent_SOURCES = \ + src/cgroups-agent/cgroups-agent.c + +logind_cgroups_agent_LDADD = \ + libelogind-internal.la \ + libelogind-shared.la + +pkglibexec_PROGRAMS += \ + logind-cgroups-agent + dist_bashcompletion_DATA += \ shell-completion/bash/loginctl -- 2.30.2