[systemd-commits] Makefile.am
Dave Reisner
dreisner at kemper.freedesktop.org
Thu Feb 20 06:12:39 PST 2014
Makefile.am | 14 ++++++++++++++
1 file changed, 14 insertions(+)
New commits:
commit e288d6a81a7731fd61029db0ff8938f4f3e72856
Author: Dave Reisner <dreisner at archlinux.org>
Date: Thu Feb 20 09:02:39 2014 -0500
readd journald.so install hooks under libsystemd.so
Inadvertently removed in add00dfd1f05.
diff --git a/Makefile.am b/Makefile.am
index c71367d..08b94d7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2047,6 +2047,20 @@ libsystemd_la_LIBADD = \
$(RT_LIBS) \
-lresolv
+libsystemd-install-hook:
+ libname=libsystemd.so && $(move-to-rootlibdir)
+ -$(MKDIR_P) $(DESTDIR)/var/log/journal
+ -chown 0:0 $(DESTDIR)/var/log/journal
+ -chmod 755 $(DESTDIR)/var/log/journal
+ -setfacl -nm g:adm:rx,d:g:adm:rx $(DESTDIR)/var/log/journal/
+ -setfacl -nm g:wheel:rx,d:g:wheel:rx $(DESTDIR)/var/log/journal/
+
+libsystemd-uninstall-hook:
+ rm -f $(DESTDIR)$(rootlibdir)/libsystemd.so*
+
+INSTALL_EXEC_HOOKS += libsystemd-install-hook
+UNINSTALL_EXEC_HOOKS += libsystemd-uninstall-hook
+
pkgconfiglib_DATA += \
src/libsystemd/libsystemd.pc
More information about the systemd-commits
mailing list