summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
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