1 Star 0 Fork 23

庞庆/anaconda

forked from src-anolis-os/anaconda 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0014-anaconda-anolis-del-bootargs-and-enable-grub-submenu.patch 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
From 7512d0c7169c1ea76bf8f26fe211fa5df7abe92d Mon Sep 17 00:00:00 2001
From: yangxiaoxuan <yangxiaoxuan@openanolis.org>
Date: Wed, 15 Sep 2021 16:16:20 +0800
Subject: [PATCH] anaconda anolis del bootargs and enable grub-submenu
---
pyanaconda/modules/storage/bootloader/grub2.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/modules/storage/bootloader/grub2.py b/pyanaconda/modules/storage/bootloader/grub2.py
index 57cfd95..71cf9c5 100644
--- a/pyanaconda/modules/storage/bootloader/grub2.py
+++ b/pyanaconda/modules/storage/bootloader/grub2.py
@@ -256,8 +256,8 @@ class GRUB2(BootLoader):
defaults.write("GRUB_TIMEOUT=%d\n" % self.timeout)
defaults.write("GRUB_DISTRIBUTOR=\"$(sed 's, release .*$,,g' /etc/system-release)\"\n")
defaults.write("GRUB_DEFAULT=saved\n")
- defaults.write("GRUB_DISABLE_SUBMENU=true\n")
- defaults.write("GRUB_CMDLINE_LINUX_DEFAULT=' rhgb quiet '\n")
+ defaults.write("GRUB_DISABLE_SUBMENU=false\n")
+ defaults.write("GRUB_CMDLINE_LINUX_DEFAULT=' '\n")
if self.console and self.has_serial_console:
defaults.write("GRUB_TERMINAL=\"serial console\"\n")
defaults.write("GRUB_SERIAL_COMMAND=\"%s\"\n" % self.serial_command)
--
2.18.4
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/pang-qing/anaconda.git
git@gitee.com:pang-qing/anaconda.git
pang-qing
anaconda
anaconda
a8

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385