From c7be82c38ae67193c9a6e49fb16d5615ce3ce006 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 19 Sep 2023 03:21:34 +0000 Subject: automatic import of lorax --- ...se-tty0-other-than-ttyAMA0-in-rescue-mode.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch (limited to '0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch') diff --git a/0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch b/0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch new file mode 100644 index 0000000..2075f82 --- /dev/null +++ b/0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch @@ -0,0 +1,25 @@ +From 7b7d4988dfab6e6fc7fa3821aa0a015455171f83 Mon Sep 17 00:00:00 2001 +From: liuxueping +Date: Sat, 29 Dec 2018 17:19:27 +0000 +Subject: [PATCH] use tty0 other than ttyAMA0 in rescue mode + +--- + share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg +index 1cc389d..2f6fedb 100644 +--- a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg ++++ b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg +@@ -40,7 +40,7 @@ submenu 'Troubleshooting -->' { + initrd @INITRDPATH@ + } + menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os { +- linux @KERNELPATH@ @ROOT@ rescue ++ linux @KERNELPATH@ @ROOT@ rescue console=ttyAMA0 console=tty0 + initrd @INITRDPATH@ + } + } +-- +1.8.3.1 + -- cgit v1.2.3