-
Notifications
You must be signed in to change notification settings - Fork 26
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
Conversation
@@ -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); |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
Minor fix for coreos#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); |
There was a problem hiding this comment.
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.
Thanks @cgwalters for the review! |
Minor fix for #633