SHA256
Basestrap kernel and stuff
This commit is contained in:
1 parent
279bd30463
commit
029df21d3e
2 files changed
+56
-10
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user