Change ELevate patch: grub config creation for EuroLinux if EFI.

This commit is contained in:
Yuriy Kohut 2024-01-18 16:24:05 +02:00
parent b734219550
commit fe8b3f76a0

View File

@ -82,10 +82,10 @@ index 5cc6fd92..fe81626f 100755
# This should not happen as /etc/initrd-release is supposed to have API # This should not happen as /etc/initrd-release is supposed to have API
# stability, but check is better than broken system. # stability, but check is better than broken system.
diff --git a/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py b/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py diff --git a/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py b/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py
index f42909f0..832f51ab 100644 index f42909f0..f08b7b82 100644
--- a/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py --- a/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py
+++ b/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py +++ b/repos/system_upgrade/common/actors/efibootorderfix/finalization/actor.py
@@ -1,17 +1,101 @@ @@ -1,17 +1,102 @@
+import os +import os
+import re +import re
+ +
@ -124,6 +124,7 @@ index f42909f0..832f51ab 100644
+ 'Red Hat Enterprise Linux': 'redhat', + 'Red Hat Enterprise Linux': 'redhat',
+ 'Rocky Linux': 'rocky', + 'Rocky Linux': 'rocky',
+ 'Scientific Linux': 'redhat', + 'Scientific Linux': 'redhat',
+ 'EuroLinux': 'eurolinux',
+ } + }
+ +
+ efi_shimname_dict = { + efi_shimname_dict = {