[packages/systemd] - fix installation location of NSS module

baggins baggins at pld-linux.org
Fri Jan 11 12:25:23 CET 2013


commit 69df72deefe4e945a39421adb77b882745151865
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Jan 11 12:21:12 2013 +0100

    - fix installation location of NSS module

 nss-in-rootlib.patch | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/nss-in-rootlib.patch b/nss-in-rootlib.patch
new file mode 100644
index 0000000..cddf4c7
--- /dev/null
+++ b/nss-in-rootlib.patch
@@ -0,0 +1,18 @@
+--- systemd-197/Makefile.am~	2013-01-10 13:47:07.559176765 +0100
++++ systemd-197/Makefile.am	2013-01-11 11:37:03.702831120 +0100
+@@ -3591,6 +3591,15 @@
+ 
+ lib_LTLIBRARIES += \
+ 	libnss_myhostname.la
++
++libnss_myhostname-install-hook:
++	mv $(DESTDIR)$(libdir)/libnss_myhostname.so.2 $(DESTDIR)$(rootlibdir)
++
++libnss_myhostname-uninstall-hook:
++	rm -f $(DESTDIR)$(rootlibdir)/libnss_myhostname.so.2
++
++INSTALL_EXEC_HOOKS += libnss_myhostname-install-hook
++UNINSTALL_EXEC_HOOKS += libnss_myhostname-uninstall-hook
+ endif
+ 
+ # move lib from $(libdir) to $(rootlibdir) and update devel link, if needed
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/2be4d5dc10baedc39edf6bb43d53de6421f3a269



More information about the pld-cvs-commit mailing list