aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIkey Doherty <michael.i.doherty@intel.com>2015-05-22 13:53:25 +0100
committerMiklos Szeredi <mszeredi@suse.cz>2015-05-26 16:05:54 +0200
commitc72a4b1571dfab16bfc3589420b3e2af829f3437 (patch)
treed4548edb7ead904d2651dab75cc5b24271a7540f
parentcfe13b7a217075ae741c018da50cd600e5330de2 (diff)
downloadlibfuse-c72a4b1571dfab16bfc3589420b3e2af829f3437.tar.gz
Use system directory for system-wide udev rules by default
This ensures that fuse functions correctly on stateless operating systems without requiring use of the site configuration directory (/etc/). Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c2601ce..ff0d1b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-05-26 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Use system directory for system-wide udev rules by default. This
+ ensures that fuse functions correctly on stateless operating
+ systems without requiring use of the site configuration directory
+ (/etc/). Patch by Ikey Doherty
+
2015-05-22 Miklos Szeredi <miklos@szeredi.hu>
* libfuse: fix exec environment for mount and umount. Found by
diff --git a/configure.ac b/configure.ac
index 14d64b6..513c434 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,7 @@ if test -z "$MOUNT_FUSE_PATH"; then
fi
AC_SUBST(MOUNT_FUSE_PATH)
if test -z "$UDEV_RULES_PATH"; then
- UDEV_RULES_PATH=/etc/udev/rules.d
+ UDEV_RULES_PATH="${prefix}/lib/udev/rules.d"
AC_MSG_NOTICE([UDEV_RULES_PATH env var not set, using default $UDEV_RULES_PATH])
fi
AC_SUBST(UDEV_RULES_PATH)