Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aa64: Minor fix for efi vendordir #634

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Conversation

HuijingHei
Copy link
Member

Minor fix for #633

@@ -484,7 +488,7 @@ pub(crate) fn set_efi_current(device: &str, espdir: &openat::Dir, vendordir: &st
if espdir.exists(&shim)? {
anyhow::bail!("Failed to find {SHIM}");
}
let loader = format!("\\EFI\\{}\\shimx64.efi", vendordir);
let loader = format!("\\EFI\\{}\\{SHIM}", vendordir);
Copy link
Member Author

@HuijingHei HuijingHei Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cgwalters update this to sync with SHIM, or might have issue on aarch64 as it does not have shimx64.efi when called by --update-firmware?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this looks right. I suspect the only reason it may have appeared to work on aarch64 is because we ended up using the fallback path.

@@ -484,7 +488,7 @@ pub(crate) fn set_efi_current(device: &str, espdir: &openat::Dir, vendordir: &st
if espdir.exists(&shim)? {
anyhow::bail!("Failed to find {SHIM}");
}
let loader = format!("\\EFI\\{}\\shimx64.efi", vendordir);
let loader = format!("\\EFI\\{}\\{SHIM}", vendordir);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this looks right. I suspect the only reason it may have appeared to work on aarch64 is because we ended up using the fallback path.

@cgwalters cgwalters merged commit e7cb57c into coreos:main Mar 27, 2024
9 checks passed
@HuijingHei HuijingHei deleted the aa64-efi branch March 27, 2024 12:55
@HuijingHei
Copy link
Member Author

Thanks @cgwalters for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants