]> err.no Git - systemd/commitdiff
build-sys: don't fail if we cannot create /cgroup/debug
authorLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 21:29:24 +0000 (23:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 17 May 2010 21:29:24 +0000 (23:29 +0200)
Makefile.am

index 83740d73d973348ad87807d81c1cc89677facb33..f67f22d64655202b8eff120df6ad7cb55ac03660 100644 (file)
@@ -405,8 +405,8 @@ 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/debug || echo "Don't forget to create /cgroup/debug! Couldn't create it for you, continuing anyway."
        ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
                rm -f session && \
                $(LN_S) $(pkgsysconfdir)/session session )