diff options
Diffstat (limited to 'recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch')
-rw-r--r-- | recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch b/recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch new file mode 100644 index 0000000..5a2e02a --- /dev/null +++ b/recipes-core/systemd/files/0001-set-tty2-as-default-instance.patch @@ -0,0 +1,27 @@ +From 7af15e776418717b64da0eb66f9c920ddf5752ed Mon Sep 17 00:00:00 2001 +From: Hongxu Jia <hongxu.jia@windriver.com> +Date: Fri, 5 Jul 2019 03:19:44 -0400 +Subject: [PATCH] set tty2 as default instance + +TTY1 is reserved for anaconda + +Upstream-Status: Inappropriate [meta-anaconda specific] + +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> +--- + units/getty@.service.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/units/getty@.service.m4 b/units/getty@.service.m4 +index 80e793b..9707a20 100644 +--- a/units/getty@.service.m4 ++++ b/units/getty@.service.m4 +@@ -57,4 +57,4 @@ UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETAR + + [Install] + WantedBy=getty.target +-DefaultInstance=tty1 ++DefaultInstance=tty2 +-- +2.8.1 + |