1 Star 0 Fork 100

Fengfei.XI/oemaker

forked from src-openEuler/oemaker 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-add-fpi_tail-param-for-grub.patch 3.97 KB
一键复制 编辑 原始数据 按行查看 历史
xyn-coder 提交于 2022-04-28 17:01 . merging by 22.03-LTS
From 3b813b13637065c76184f6e57d0fa76d2571b1ca Mon Sep 17 00:00:00 2001
From: gitee-cmd <[email protected]>
Date: Fri, 31 Dec 2021 15:11:32 +0800
Subject: [PATCH] add fpi_tail param for grub
---
isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg | 8 ++++----
isomaker/80-openeuler/config_files/x86/grub2-efi.cfg | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg b/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
index 43b0e74..2d165e1 100644
--- a/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
+++ b/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
@@ -27,20 +27,20 @@ search --no-floppy --set=root -l '@ISOLABEL@'
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Install @PRODUCT@ @VERSION@' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ ro inst.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me
+ linux @KERNELPATH@ @ROOT@ ro inst.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me fpi_to_tail=off
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.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me
+ linux @KERNELPATH@ @ROOT@ rd.live.check inst.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me fpi_to_tail=off
initrd @INITRDPATH@
}
submenu 'Troubleshooting -->' {
menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ nomodeset inst.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me
+ linux @KERNELPATH@ @ROOT@ nomodeset inst.geoloc=0 console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me fpi_to_tail=off
initrd @INITRDPATH@
}
menuentry 'Rescue the @PRODUCT@ system' --class red --class gnu-linux --class gnu --class os {
- linux @KERNELPATH@ @ROOT@ rescue console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me
+ linux @KERNELPATH@ @ROOT@ rescue console=tty0 smmu.bypassdev=0x1000:0x17 smmu.bypassdev=0x1000:0x15 video=efifb:off video=VGA-1:640x480-32@60me fpi_to_tail=off
initrd @INITRDPATH@
}
}
diff --git a/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg b/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg
index 5001156..fe2bc03 100644
--- a/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg
+++ b/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg
@@ -21,20 +21,20 @@ search --no-floppy --set=root -l '@ISOLABEL@'
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Install @PRODUCT@ @VERSION@' --class openEuler --class gnu-linux --class gnu --class os {
- linuxefi @KERNELPATH@ @ROOT@ quiet
+ linuxefi @KERNELPATH@ @ROOT@ fpi_to_tail=off
initrdefi @INITRDPATH@
}
menuentry 'Test this media & install @PRODUCT@ @VERSION@' --class openEuler --class gnu-linux --class gnu --class os {
- linuxefi @KERNELPATH@ @ROOT@ rd.live.check quiet
+ linuxefi @KERNELPATH@ @ROOT@ rd.live.check fpi_to_tail=off
initrdefi @INITRDPATH@
}
submenu 'Troubleshooting -->' {
menuentry 'Install @PRODUCT@ @VERSION@ in basic graphics mode' --class openEuler --class gnu-linux --class gnu --class os {
- linuxefi @KERNELPATH@ @ROOT@ nomodeset quiet
+ linuxefi @KERNELPATH@ @ROOT@ nomodeset fpi_to_tail=off
initrdefi @INITRDPATH@
}
menuentry 'Rescue a @PRODUCT@ system' --class openEuler --class gnu-linux --class gnu --class os {
- linuxefi @KERNELPATH@ @ROOT@ rescue quiet
+ linuxefi @KERNELPATH@ @ROOT@ rescue fpi_to_tail=off
initrdefi @INITRDPATH@
}
}
--
2.27.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fengfeixi/oemaker.git
[email protected]:fengfeixi/oemaker.git
fengfeixi
oemaker
oemaker
master

搜索帮助