Really move udev rules to /lib/udev/rules.d (bug #748208).

This commit is contained in:
Jiri Popelka 2011-10-24 14:33:12 +02:00
parent 275fe1b3bc
commit 275aca3665
2 changed files with 14 additions and 2 deletions

View File

@ -15,3 +15,15 @@ diff -up hplip-3.11.7/data/rules/56-hpmud_support.rules.udev-rules hplip-3.11.7/
ENV{hp_test}=="yes", RUN+="/bin/sh -c '/usr/bin/hp-mkuri -c &'"
LABEL="hpmud_rules_end"
diff -up hplip-3.11.10/Makefile.in.udev-rules hplip-3.11.10/Makefile.in
--- hplip-3.11.10/Makefile.in.udev-rules 2011-10-02 05:11:49.000000000 +0200
+++ hplip-3.11.10/Makefile.in 2011-10-24 14:23:17.336002785 +0200
@@ -4093,7 +4093,7 @@ cups_drv = prnt/drv/hpcups.drv
@HPLIP_BUILD_TRUE@hp_mkuri_CFLAGS = -DCONFDIR=\"$(hplip_confdir)\"
# hpmud.rules
-@HPLIP_BUILD_TRUE@rulesdir = /etc/udev/rules.d
+@HPLIP_BUILD_TRUE@rulesdir = /lib/udev/rules.d
@HPLIP_BUILD_TRUE@dist_rules_DATA = data/rules/56-hpmud_support.rules \
@HPLIP_BUILD_TRUE@ $(am__append_2) $(am__append_3)
@HPLIP_BUILD_TRUE@halpredir = /usr/share/hal/fdi/preprobe/10osvendor

View File

@ -187,8 +187,8 @@ mv prnt/drv/hpijs.drv.in{,.deviceIDs-drv-hpijs}
# directly (bug #552572).
%patch6 -p1 -b .mucks-with-spooldir
# Removed SYSFS use in udev rules and actually made them work
# (bug #560754).
# Removed SYSFS use in udev rules and actually made them work (bug #560754).
# Move udev rules to /lib/udev/rules.d (bug #748208).
%patch7 -p1 -b .udev-rules
# Retry when connecting to device fails (bug #532112).