find_efi_loader is missing bindings for aarch64 artifacts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Committed
|
Medium
|
Alan Baghumian |
Bug Description
Curtin currently utilizes the find_efi_loader function in the install_grub.py module to determine the correct utility to be used during the GRUB installation stage.
The current version only covers artifacts for x86_64 architecture, hence causing deployment failures (due to GRUB installation errors) on aarch64:
def find_efi_
efi_path = '/boot/efi/EFI'
possible_
]
for loader in possible_loaders:
tloader = target_path(target, path=loader)
if os.path.
return loader
return None
I'll be submitting a PR to fix this issue.
Related branches
- Server Team CI bot: Needs Fixing (continuous-integration)
- curtin developers: Pending requested
-
Diff: 546 lines (+413/-0)2 files modifiedcurtin/commands/install_grub.py (+3/-0)
tests/unittests/test_commands_install_grub.py (+410/-0)
Changed in curtin: | |
status: | New → In Progress |
importance: | Undecided → Medium |
tags: | added: sts |
Changed in curtin: | |
status: | In Progress → Fix Committed |