chiark / gitweb /
cgroup: don't require debug cgroup controller anymore, use name hierarchy instead
[elogind.git] / Makefile.am
index 83740d73d973348ad87807d81c1cc89677facb33..65ab1339a7dde132a5aef3b2ba649088b89dd7cd 100644 (file)
@@ -405,8 +405,9 @@ install-data-hook:
                $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
                $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \
                $(DESTDIR)$(pkgsysconfdir)/session \
-               $(DESTDIR)$(sysconfdir)/xdg/systemd \
-               $(DESTDIR)/cgroup/debug
+               $(DESTDIR)$(sysconfdir)/xdg/systemd
+       $(MKDIR_P) -m 0755 $(DESTDIR)/cgroup/systemd || \
+               echo "Don't forget to create /cgroup/systemd! Couldn't create it for you, continuing anyway."
        ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
                rm -f session && \
                $(LN_S) $(pkgsysconfdir)/session session )