2012-08-14 09:06:13

by Ozan Çağlayan

[permalink] [raw]
Subject: [PATCH] compat: Drop redundant udev rules file

udev rules for Ubuntu and the-rest-of-world are the same. Drop one of
them and use the other one.

Signed-off-by: Ozan Çağlayan <[email protected]>
---
scripts/compat_firmware_install | 2 +-
udev/ubuntu/50-compat_firmware.rules | 4 ----
2 files changed, 1 insertion(+), 5 deletions(-)
delete mode 100644 udev/ubuntu/50-compat_firmware.rules

diff --git a/scripts/compat_firmware_install b/scripts/compat_firmware_install
index 33e4fde..e4b9fb0 100755
--- a/scripts/compat_firmware_install
+++ b/scripts/compat_firmware_install
@@ -10,7 +10,7 @@ case $LSB_RED_ID in
"Ubuntu")
mkdir -p /lib/udev/ /lib/udev/rules.d/
cp udev/ubuntu/compat_firmware.sh /lib/udev/
- cp udev/ubuntu/50-compat_firmware.rules /lib/udev/rules.d/
+ cp udev/50-compat_firmware.rules /lib/udev/rules.d/
;;
*)
mkdir -p /lib/udev/ /lib/udev/rules.d/
diff --git a/udev/ubuntu/50-compat_firmware.rules b/udev/ubuntu/50-compat_firmware.rules
deleted file mode 100644
index 6473788..0000000
--- a/udev/ubuntu/50-compat_firmware.rules
+++ /dev/null
@@ -1,4 +0,0 @@
-# do not edit this file, it will be overwritten on update
-
-# compat_firmware-class requests, copies files into the kernel
-SUBSYSTEM=="compat_firmware", ACTION=="add", RUN+="compat_firmware.sh"
--
1.7.11.2



2012-08-14 16:50:11

by Luis Chamberlain

[permalink] [raw]
Subject: Re: [PATCH] compat: Drop redundant udev rules file

On Tue, Aug 14, 2012 at 2:06 AM, Ozan Çağlayan <[email protected]> wrote:
> udev rules for Ubuntu and the-rest-of-world are the same. Drop one of
> them and use the other one.
>
> Signed-off-by: Ozan Çağlayan <[email protected]>

Makes sense, thanks, applied and pushed.

Luis