option to not use tmpfs
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
JMARyA 2025-03-17 14:49:29 +01:00
parent 86cf3edb90
commit 1ff81b1915
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
3 changed files with 14 additions and 4 deletions

View file

@ -35,13 +35,20 @@ fn main() {
match args.subcommand() {
Some(("create-iso", iso_args)) => {
let without_gui = iso_args.get_flag("without_gui");
let no_tmp = iso_args.get_flag("no_tmp");
let kb_layout_default = "us".to_string();
let kb_layout: &String = iso_args.get_one("kb_layout").unwrap_or(&kb_layout_default);
let kb_variant: Option<&str> =
iso_args.get_one("kb_variant").map(|x: &String| x.as_str());
let auto_install_config: Option<&String> = iso_args.get_one("install");
create_iso(without_gui, kb_layout, kb_variant, auto_install_config);
create_iso(
without_gui,
no_tmp,
kb_layout,
kb_variant,
auto_install_config,
);
std::process::exit(0);
}
Some(("create-tar", _)) => {