We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22247ca commit 3ad158aCopy full SHA for 3ad158a
src/backend/postinstall/efi_stub.rs
@@ -1,3 +1,4 @@
1
+use crate::util::sys::check_uefi;
2
use color_eyre::{eyre::bail, Result};
3
use serde::{Deserialize, Serialize};
4
use std::process::Command;
@@ -18,7 +19,7 @@ impl PostInstallModule for EfiStub {
18
19
fn run(&self, context: &Context) -> Result<()> {
20
// two guard clauses for checking EFI and
21
// existence of an ESP partition
- if !context.uefi {
22
+ if !context.uefi || !check_uefi() {
23
return Ok(());
24
}
25
0 commit comments