aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-03-24 11:34:41 -0700
committerBrian Behlendorf <[email protected]>2011-03-25 10:05:09 -0700
commit1d82906dea5eb698a854d992e445e794fb5a0880 (patch)
tree99b4da105796b83317173749e85071f259e6da83 /configure.ac
parenta5729f7b22e14aed657bd716f3ee98b02f7e7c41 (diff)
Set cmd paths in udev rules using --prefix
The udev/rules.d scripts must use absolute paths to their support binaries. However, where those binaries get installed depends on what --prefix was set to when the package was configured. This change makes the udev/rules.d helpers to *.in files which are processed by configure. This allows them to be dynamically updated to include the specified --prefix. Additionally, this change updates 60-zvol.rules to handle both the 'add' and 'change' actions. This ensures that that all valid zvol devices are correctly linked.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a188fa797..b578341b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,8 @@ AC_CONFIG_FILES([
etc/Makefile
etc/udev/Makefile
etc/udev/rules.d/Makefile
+ etc/udev/rules.d/60-zpool.rules
+ etc/udev/rules.d/60-zvol.rules
etc/init.d/Makefile
etc/zfs/Makefile
man/Makefile