1 Star 0 Fork 37

nov1ce/lorax

forked from src-openEuler/lorax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
lorax-enable-GUI-installation.patch 2.15 KB
一键复制 编辑 原始数据 按行查看 历史
朱春意 提交于 2019-11-06 19:41 . update code
diff -Nuar a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg
--- a/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-08-02 23:35:27.264000000 -0400
+++ b/share/templates.d/99-generic/config_files/aarch64/grub2-efi.cfg 2019-08-02 23:42:52.396000000 -0400
@@ -1,4 +1,4 @@
-set default="1"
+set default="2"
function load_video {
if [ x$feature_all_video_module = xy ]; then
@@ -26,12 +26,16 @@
search --no-floppy --set=root -l '@ISOLABEL@'
### BEGIN /etc/grub.d/10_linux ###
+menuentry 'Install @PRODUCT@ @VERSION@ with GUI mode' --class red --class gnu-linux --class gnu --class os {
+ linux @KERNELPATH@ @ROOT@ ro inst.geoloc=0
+ initrd @INITRDPATH@
+}
menuentry 'Install @PRODUCT@ @VERSION@ with text mode' --class red --class gnu-linux --class gnu --class os {
linux @KERNELPATH@ @ROOT@ ro inst.text inst.geoloc=0 console=ttyAMA0 console=tty0
initrd @INITRDPATH@
}
menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ rd.live.check inst.text inst.geoloc=0 console=ttyAMA0 console=tty0
+ linux @KERNELPATH@ @ROOT@ rd.live.check inst.geoloc=0
initrd @INITRDPATH@
}
menuentry 'Rescue a @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
diff -Nuar a/share/templates.d/99-generic/config_files/aarch64/grub.conf b/share/templates.d/99-generic/config_files/aarch64/grub.conf
--- a/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-08-02 23:35:27.280000000 -0400
+++ b/share/templates.d/99-generic/config_files/aarch64/grub.conf 2019-08-02 23:41:29.292000000 -0400
@@ -5,9 +5,9 @@
hiddenmenu
title Install @PRODUCT@ @VERSION@
findiso
- kernel @KERNELPATH@ @ROOT@ quiet inst.text inst.geoloc=0
+ kernel @KERNELPATH@ @ROOT@ quiet inst.geoloc=0
initrd @INITRDPATH@
title Test this media & install @PRODUCT@ @VERSION@
findiso
- kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.text inst.geoloc=0
+ kernel @KERNELPATH@ @ROOT@ rd.live.check quiet inst.geoloc=0
initrd @INITRDPATH@
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mynov1ce/lorax.git
git@gitee.com:mynov1ce/lorax.git
mynov1ce
lorax
lorax
master

搜索帮助