Skip to content

Commit 034e1e9

Browse files
committed
Fix QEFIEntryManager in Gnome
1 parent c0bef87 commit 034e1e9

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

biglinux-livecd/usr/share/biglinux/calamares/src/services/system_service.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,11 @@ def get_sfs_folder(self) -> Optional[str]:
150150
def get_efi_manager_command(self) -> Optional[str]:
151151
"""Get the command to manage EFI entries if available."""
152152
command_name = COMMANDS.get("efi_manager")
153-
if command_name and check_command_exists(command_name):
154-
return command_name
153+
if command_name:
154+
# Check availability of the main executable
155+
executable = command_name.split()[0]
156+
if check_command_exists(executable):
157+
return command_name
155158
return None
156159

157160
def can_manage_efi_entries(self) -> bool:

biglinux-livecd/usr/share/biglinux/calamares/src/utils/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"efi_check": "[ -d /sys/firmware/efi ]",
5050
"grub_restore": "biglinux-grub-restore",
5151
"timeshift": "timeshift-launcher",
52-
"efi_manager": "qefientrymanager-launcher",
52+
"efi_manager": "bigsudo QEFIEntryManager",
5353
"calamares": "calamares",
5454
}
5555

0 commit comments

Comments
 (0)