summaryrefslogtreecommitdiff
path: root/0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-19 03:21:34 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-19 03:21:34 +0000
commitc7be82c38ae67193c9a6e49fb16d5615ce3ce006 (patch)
tree5000ef910d51151ea9fc4e4f5440f2b7d8851593 /0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch
parentb5cb83d7ac779a40dc9473ab058aed655abb2cf9 (diff)
automatic import of loraxopeneuler20.03
Diffstat (limited to '0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch')
-rw-r--r--0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch25
1 files changed, 25 insertions, 0 deletions
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 <liuxueping1@huawei.com>
+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
+