mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 21:51:37 +00:00
vconsole: don't hard-code systemd-vconsole-setup binary path
(cherry picked from commit 3b0ed75c35)
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
b5a585d946
commit
87452f45f1
+5
-1
@@ -4403,14 +4403,18 @@ rootlibexec_PROGRAMS += \
|
||||
nodist_systemunit_DATA += \
|
||||
units/systemd-vconsole-setup.service
|
||||
|
||||
dist_udevrules_DATA += \
|
||||
nodist_udevrules_DATA += \
|
||||
src/vconsole/90-vconsole.rules
|
||||
|
||||
SYSINIT_TARGET_WANTS += \
|
||||
systemd-vconsole-setup.service
|
||||
|
||||
CLEANFILES += \
|
||||
src/vconsole/90-vconsole.rules
|
||||
endif
|
||||
|
||||
EXTRA_DIST += \
|
||||
src/vconsole/90-vconsole.rules.in \
|
||||
units/systemd-vconsole-setup.service.in
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
/90-vconsole.rules
|
||||
@@ -8,4 +8,4 @@
|
||||
# Kernel resets vconsole state when changing console drivers so run
|
||||
# systemd-vconsole-setup when fbcon loads
|
||||
|
||||
ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="/usr/lib/systemd/systemd-vconsole-setup"
|
||||
ACTION=="add", SUBSYSTEM=="graphics", KERNEL=="fbcon", RUN+="@rootlibexecdir@/systemd-vconsole-setup"
|
||||
Reference in New Issue
Block a user