summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
authorkpfleming@backtobasicsmgmt.com <kpfleming@backtobasicsmgmt.com>2004-10-05 22:15:16 -0700
committerGreg KH <gregkh@suse.de>2005-04-26 21:37:02 -0700
commitb88988007310c6dd76c1b388baf2390549cce719 (patch)
tree321ab8edac874700ae18b7b231878899e8669dcd /etc/udev
parent1764266da0ce245d3a06c526d69f550b10913375 (diff)
[PATCH] respect prefix= setting in built udev.conf (updated)
Here is a revised version of the patch. Again, it modifies the Makefile to respect the prefix= setting when putting paths to /etc/udev/{rules.s,permissions.d} into the built /etc/udev/udev.conf file. It also changes the Makefile to create this file at "make" time, not "make install" time. This allows for udevdir to be specified at "make" time (thus putting the correct path into udev.conf), but not specified at "make install" time (thus allowing the installation to proceed without trying to use the wrong directory). Submitted By: Kevin P. Fleming <kpfleming@linuxfromscratch.org> Date: 2004-09-16 Initial Package Version: 032 Origin: David Jensen Description: correct udev's Makefile and template config file to respect the "prefix=" setting supplied when it is built; also build etc/udev/udev.conf at "make" time, not "make install" time
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/udev.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/udev/udev.conf.in b/etc/udev/udev.conf.in
index 9b6b9c7ee2..4c71b1dfec 100644
--- a/etc/udev/udev.conf.in
+++ b/etc/udev/udev.conf.in
@@ -12,10 +12,10 @@ udev_root="@udevdir@/"
udev_db="@udevdir@/.udev.tdb"
# udev_rules - The name and location of the udev rules file
-udev_rules="/etc/udev/rules.d/"
+udev_rules="@configdir@/rules.d/"
# udev_permissions - The name and location of the udev permission file
-udev_permissions="/etc/udev/permissions.d/"
+udev_permissions="@configdir@/permissions.d/"
# default_mode - set the default mode for all nodes that have no
# explicit match in the permissions file