summaryrefslogtreecommitdiff
path: root/0012-change-rescue-parameter-with-new-anaconda.patch
blob: 96fd4c13c3a029be79001c6b6776a6be8474effd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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