build and efi fixes

This commit is contained in:
Aiden McClelland
2025-11-14 19:00:33 -07:00
parent df636b7a78
commit 7210f43f50
10 changed files with 48 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
use std::collections::BTreeMap;
use std::env::consts::ARCH;
use std::path::Path;
use std::time::Duration;
@@ -498,6 +499,12 @@ async fn do_update(
None
};
Command::new("chroot")
.arg(root_guard.path())
.arg("grub-install")
.invoke(crate::ErrorKind::Grub)
.await?;
Command::new("chroot")
.arg(root_guard.path())
.arg("update-grub2")