oemaker/0012-change-rescue-parameter-with-new-anaconda.patch

54 lines
2.4 KiB
Diff
Raw Normal View History

From 827754f12b73541273197eec7ba7a8a4b3eb2271 Mon Sep 17 00:00:00 2001
From: sun_hai_10 <sunha10@huawei.com>
Date: Thu, 8 Dec 2022 17:14:16 +0800
Subject: [PATCH] change rescue parameter with new anaconda
---
isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg | 2 +-
isomaker/80-openeuler/config_files/x86/grub2-efi.cfg | 2 +-
isomaker/80-openeuler/config_files/x86/isolinux.cfg | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg b/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
index 2d165e1..2cc19a8 100644
--- a/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
+++ b/isomaker/80-openeuler/config_files/aarch64/grub2-efi.cfg
@@ -40,7 +40,7 @@ submenu 'Troubleshooting -->' {
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 fpi_to_tail=off
+ linux @KERNELPATH@ @ROOT@ inst.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 fe2bc03..c7cb824 100644
--- a/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg
+++ b/isomaker/80-openeuler/config_files/x86/grub2-efi.cfg
@@ -34,7 +34,7 @@ submenu 'Troubleshooting -->' {
initrdefi @INITRDPATH@
}
menuentry 'Rescue a @PRODUCT@ system' --class openEuler --class gnu-linux --class gnu --class os {
- linuxefi @KERNELPATH@ @ROOT@ rescue fpi_to_tail=off
+ linuxefi @KERNELPATH@ @ROOT@ inst.rescue fpi_to_tail=off
initrdefi @INITRDPATH@
}
}
diff --git a/isomaker/80-openeuler/config_files/x86/isolinux.cfg b/isomaker/80-openeuler/config_files/x86/isolinux.cfg
index 0471f42..1b3fae2 100644
--- a/isomaker/80-openeuler/config_files/x86/isolinux.cfg
+++ b/isomaker/80-openeuler/config_files/x86/isolinux.cfg
@@ -93,7 +93,7 @@ label rescue
and edit config files to try to get it booting again.
endtext
kernel vmlinuz
- append initrd=initrd.img @ROOT@ rescue quiet
+ append initrd=initrd.img @ROOT@ inst.rescue quiet
label memtest
menu label Run a ^memory test
--
2.23.0