mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00: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:
committed by
Colin Guthrie
parent
ea98de45c8
commit
52099229bc
@@ -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"
|
||||
Reference in New Issue
Block a user