Blame SOURCES/0513-units-order-container-and-console-getty-units-after-.patch

17b0f1
From b10c083e9b9de46b54873780f73dce57fa1b6d4f Mon Sep 17 00:00:00 2001
17b0f1
From: Michal Sekletar <msekleta@redhat.com>
17b0f1
Date: Tue, 5 Sep 2017 14:53:25 +0200
17b0f1
Subject: [PATCH] units: order container and console getty units after
17b0f1
 getty-pre.target
17b0f1
17b0f1
(cherry picked from commit 45e27532971ac84e835a2879df510a581f933fcd)
17b0f1
17b0f1
Related: #1173080
17b0f1
---
17b0f1
 units/console-getty.service.m4.in    | 2 +-
17b0f1
 units/container-getty@.service.m4.in | 2 +-
17b0f1
 2 files changed, 2 insertions(+), 2 deletions(-)
17b0f1
17b0f1
diff --git a/units/console-getty.service.m4.in b/units/console-getty.service.m4.in
17b0f1
index 413d94094b..61ecf89517 100644
17b0f1
--- a/units/console-getty.service.m4.in
17b0f1
+++ b/units/console-getty.service.m4.in
17b0f1
@@ -11,7 +11,7 @@ Documentation=man:agetty(8)
17b0f1
 After=systemd-user-sessions.service plymouth-quit-wait.service
17b0f1
 ConditionPathExists=/dev/console
17b0f1
 m4_ifdef(`HAVE_SYSV_COMPAT',
17b0f1
-After=rc-local.service
17b0f1
+After=rc-local.service getty-pre.target
17b0f1
 )m4_dnl
17b0f1
 Before=getty.target
17b0f1
 
17b0f1
diff --git a/units/container-getty@.service.m4.in b/units/container-getty@.service.m4.in
17b0f1
index e126f3a489..4395ef5cec 100644
17b0f1
--- a/units/container-getty@.service.m4.in
17b0f1
+++ b/units/container-getty@.service.m4.in
17b0f1
@@ -10,7 +10,7 @@ Description=Container Getty on /dev/pts/%I
17b0f1
 Documentation=man:agetty(8) man:machinectl(1)
17b0f1
 After=systemd-user-sessions.service plymouth-quit-wait.service
17b0f1
 m4_ifdef(`HAVE_SYSV_COMPAT',
17b0f1
-After=rc-local.service
17b0f1
+After=rc-local.service getty-pre.target
17b0f1
 )m4_dnl
17b0f1
 Before=getty.target
17b0f1
 IgnoreOnIsolate=yes