forked from pool/systemd
Marcus Meissner
040ccd5e7a
- Add fastboot-forcefsck.patch: ensure fastboot and forcefsck on kernel commandline are handled. - Add fix-write-user-state-file.patch: write logind state file correctly. - Disable logind-logout.patch: cause too many issues (bnc#769531). - Add fix-tty-startup.patch: don't limit tty VT to 12 (bnc#770182). OBS-URL: https://build.opensuse.org/request/show/127840 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=288
41 lines
1.2 KiB
Diff
41 lines
1.2 KiB
Diff
From d55248d6a6f69f3b6c86cfc0d11aff8831590a4f Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Thu, 12 Apr 2012 17:29:42 +0200
|
|
Subject: [PATCH] getty: VC devices are always available, we don't need to
|
|
wait until they show up
|
|
|
|
---
|
|
src/99-systemd.rules.in | 1 -
|
|
units/getty@.service.m4 | 3 +--
|
|
2 files changed, 1 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/src/99-systemd.rules.in b/src/99-systemd.rules.in
|
|
index d306f71..8cc7523 100644
|
|
--- a/src/99-systemd.rules.in
|
|
+++ b/src/99-systemd.rules.in
|
|
@@ -7,7 +7,6 @@
|
|
|
|
ACTION=="remove", GOTO="systemd_end"
|
|
|
|
-SUBSYSTEM=="tty", KERNEL=="tty[0-9]|tty1[0-2]", TAG+="systemd"
|
|
SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd"
|
|
|
|
KERNEL=="vport*", TAG+="systemd"
|
|
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
|
|
index a02838d..c397a4d 100644
|
|
--- a/units/getty@.service.m4
|
|
+++ b/units/getty@.service.m4
|
|
@@ -7,8 +7,7 @@
|
|
|
|
[Unit]
|
|
Description=Getty on %I
|
|
-BindTo=dev-%i.device
|
|
-After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service
|
|
+After=systemd-user-sessions.service plymouth-quit-wait.service
|
|
m4_ifdef(`TARGET_FEDORA',
|
|
After=rc-local.service
|
|
)m4_dnl
|
|
--
|
|
1.7.7
|
|
|