summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-12-19 16:49:56 +0100
committerKay Sievers <kay.sievers@vrfy.org>2008-12-19 16:49:56 +0100
commita31f59b570d12da609878d5c69fd576b215fae19 (patch)
tree142573ea5cc31fc12b223d54ffa238587101b40c /extras
parent93e4f2cfc8fce58e8d50346b417e7023f7cf3552 (diff)
rules: first simple step merging with Ubuntu rules
Diffstat (limited to 'extras')
-rw-r--r--extras/firmware/50-firmware.rules4
-rw-r--r--extras/firmware/Makefile.am3
2 files changed, 7 insertions, 0 deletions
diff --git a/extras/firmware/50-firmware.rules b/extras/firmware/50-firmware.rules
new file mode 100644
index 0000000000..a28e2a875d
--- /dev/null
+++ b/extras/firmware/50-firmware.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+# firmware-class requests, copies files into the kernel
+SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
diff --git a/extras/firmware/Makefile.am b/extras/firmware/Makefile.am
index 4d1b19523e..42f58768c9 100644
--- a/extras/firmware/Makefile.am
+++ b/extras/firmware/Makefile.am
@@ -4,3 +4,6 @@ udevhomedir = $(udev_prefix)/lib/udev
dist_udevhome_SCRIPTS = \
firmware.sh
+udevrulesdir = $(udev_prefix)/lib/udev/rules.d
+dist_udevrules_DATA = \
+ 50-firmware.rules