Basestrap kernel and stuff

This commit is contained in:
kira committed 2026-11-08 00:16:17 +01:00
1 parent 279bd30463
commit 029df21d3e
2 files changed
+56 -10

No files matched your search

+9
View File
@@ -139,6 +139,15 @@ pub fn basestrap_dinit(root_dir: &str) -> Result<(), ExecCommandError> {
)
}
pub fn basestrap(root_dir: &str, pkg_list: &[&str]) -> Result<(), ExecCommandError> {
let mut args: Vec<&str> = vec![root_dir];
args.extend(pkg_list);
exec_command(
"basestrap",
&args,
)
}
/// Executes parted command with given arguments
fn exec_parted(args: &Vec<&str>) -> Result<String, ExecCommandError> {
exec_command_out("parted", args)