summaryrefslogtreecommitdiff
path: root/0005-add-fpi_tail-param-for-grub.patch
diff options
context:
space:
mode:
Diffstat (limited to '0005-add-fpi_tail-param-for-grub.patch')
-rw-r--r--0005-add-fpi_tail-param-for-grub.patch71
1 files changed, 71 insertions, 0 deletions
diff --git a/0005-add-fpi_tail-param-for-grub.patch b/0005-add-fpi_tail-param-for-grub.patch
new file mode 100644
index 0000000..a2f5a4f
--- /dev/null
+++ b/0005-add-fpi_tail-param-for-grub.patch
@@ -0,0 +1,71 @@
+From 3b813b13637065c76184f6e57d0fa76d2571b1ca Mon Sep 17 00:00:00 2001
+From: gitee-cmd <chemingdao@huawei.com>
+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
+