♻️ optional secure boot
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-04-10 13:45:02 +02:00
parent c680a11d9e
commit 8c9db904df
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
4 changed files with 16 additions and 5 deletions

View file

@ -53,9 +53,6 @@ fn main() {
std::process::exit(1);
}
// TODO : make secure boot configurable
//ensure_secure_boot();
let config_file: &String = install_args.get_one("config").unwrap();
let force = install_args.get_flag("force");
let conf = read_conf(config_file);
@ -66,6 +63,10 @@ fn main() {
expect_yes();
}
if conf.general.secure_boot.unwrap_or(false) {
ensure_secure_boot();
}
// Run the
install(conf, true);
}