MycroftOS: GUI: Make sure the splash starts after DRM

This commit is contained in:
j1nx 2020-05-17 20:09:09 +02:00
parent b3d1c011ef
commit 036d70a505
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,7 @@
[Unit]
Description=Starts Mycroft splash boot screen
Wants=systemd-vconsole-setup.service
After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
Wants=dev-dri-card0.device
After=dev-dri-card0.device
DefaultDependencies=no
[Service]

View File

@ -0,0 +1,9 @@
# do not edit this file, it will be overwritten on update
ACTION!="remove", SUBSYSTEM=="drm", SUBSYSTEMS=="pci|usb|platform", IMPORT{builtin}="path_id"
# by-path
ENV{ID_PATH}=="?*", KERNEL=="card*", SYMLINK+="dri/by-path/$env{ID_PATH}-card" TAG+="systemd"
ENV{ID_PATH}=="?*", KERNEL=="controlD*", SYMLINK+="dri/by-path/$env{ID_PATH}-control"
ENV{ID_PATH}=="?*", KERNEL=="renderD*", SYMLINK+="dri/by-path/$env{ID_PATH}-render"