]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
vconsole: Don't do static installation under sysinit.target
authorMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 26 Jul 2016 22:57:01 +0000 (00:57 +0200)
Udev rules cover all the necessary initializations.

As the service now is neither installed, nor installable - we can
remove explicit dependencies and RemainAfterExit=yes option.

Makefile.am
units/systemd-vconsole-setup.service.in

index c9fb4917ad43219f6311aa7d099d5e0888408420..7535b505fb22dd5f5296ac5b340232125ffe588f 100644 (file)
@@ -4628,9 +4628,6 @@ nodist_udevrules_DATA += \
 
 nodist_systemunit_DATA += \
        units/systemd-vconsole-setup.service
-
-SYSINIT_TARGET_WANTS += \
-       systemd-vconsole-setup.service
 endif
 
 EXTRA_DIST += \
index 6160361871e565a1ae858b02290ef49d18244660..2bd1fd1a5d32b9557d97f79ac3154de9adb2cd5f 100644 (file)
@@ -9,11 +9,8 @@
 Description=Setup Virtual Console
 Documentation=man:systemd-vconsole-setup.service(8) man:vconsole.conf(5)
 DefaultDependencies=no
-Conflicts=shutdown.target
-Before=sysinit.target shutdown.target
 ConditionPathExists=/dev/tty0
 
 [Service]
 Type=oneshot
-RemainAfterExit=yes
 ExecStart=@rootlibexecdir@/systemd-vconsole-setup