mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
rules: load path_id on DRM devices
The path_id-builtin provides useful unique aliases for DRM devices. If we want to configure DRM render-nodes for compositors, we want to avoid storing the whole sys-path in configuration files. Hence, allow users to store the short PATH_ID instead. Load path_id-builtin unconditionally on DRM devices now to always provide this alias.
This commit is contained in:
parent
5f34246c75
commit
0a8da8305a
@ -2232,6 +2232,7 @@ dist_udevrules_DATA += \
|
||||
rules/99-systemd.rules \
|
||||
rules/42-usb-hid-pm.rules \
|
||||
rules/50-udev-default.rules \
|
||||
rules/60-drm.rules \
|
||||
rules/60-keyboard.rules \
|
||||
rules/60-persistent-storage-tape.rules \
|
||||
rules/60-persistent-serial.rules \
|
||||
|
8
rules/60-drm.rules
Normal file
8
rules/60-drm.rules
Normal file
@ -0,0 +1,8 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
|
||||
ACTION=="remove", GOTO="drm_end"
|
||||
SUBSYSTEM!="drm", GOTO="drm_end"
|
||||
|
||||
SUBSYSTEMS=="pci|usb|platform", IMPORT{builtin}="path_id"
|
||||
|
||||
LABEL="drm_end"
|
Loading…
Reference in New Issue
Block a user