[PATCH] Handle new location of systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Frederic Crozat <fcrozat@xxxxxxxx>

Some distributions are moving systemd unit files from /lib to
/usr/lib, so we need to test both directories.

Index: autofs/aclocal.m4
===================================================================
--- autofs.orig/aclocal.m4
+++ autofs/aclocal.m4
@@ -234,7 +234,7 @@ AC_DEFUN([AF_WITH_SYSTEMD],
 [if test "$withval" = yes; then
   if test -z "$systemddir"; then
     AC_MSG_CHECKING([location of the systemd unit files directory])
-    for systemd_d in /lib/systemd/system; do
+    for systemd_d in /usr/lib/systemd/system /lib/systemd/system; do
       if test -z "$systemddir"; then
         if test -d "$systemd_d"; then
           systemddir="$systemd_d"
Index: autofs/CHANGELOG
===================================================================
--- autofs.orig/CHANGELOG
+++ autofs/CHANGELOG
@@ -12,6 +12,7 @@
 - configure.in: allow cross compilation.
 - README: update mailing list subscription info.
 - allow non root user to check status.
+- handle new location of systemd.

 25/07/2012 autofs-5.0.7
 =======================
--
To unsubscribe from this list: send the line "unsubscribe autofs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux