1 Star 0 Fork 37

jchzhou / lorax

forked from src-openEuler / lorax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0001-use-tty0-other-than-ttyAMA0-in-rescue-mode.patch 965 Bytes
一键复制 编辑 原始数据 按行查看 历史
朱春意 提交于 2019-11-06 19:41 . update code
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
1
https://gitee.com/jchzhou/lorax.git
git@gitee.com:jchzhou/lorax.git
jchzhou
lorax
lorax
master

搜索帮助