1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-08-26 17:50:11 +03:00

vconsole: don't hard-code systemd-vconsole-setup binary path

This commit is contained in:
Michael Biebl
2014-11-29 06:35:38 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 317ca85db0
commit 64a51989b9
3 changed files with 7 additions and 2 deletions

View File

@ -4414,14 +4414,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
# ------------------------------------------------------------------------------

1
src/vconsole/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/90-vconsole.rules

View File

@ -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"