From 241a4f0748bafd0c517729d135d27e09d0ac40ff Mon Sep 17 00:00:00 2001 From: HimbeerserverDE Date: Tue, 14 Feb 2023 16:29:03 +0100 Subject: name kernel output file after user provided flag, not the actual architecture --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4a93169..b0c378b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -137,7 +137,7 @@ fn main() -> anyhow::Result<()> { fs::copy( Path::new(file_name.trim_end_matches(".tar.xz")).join(kernel_path), - format!("vmlinuz-{}", arch), + format!("vmlinuz-{}", args.arch), )?; fs::remove_file(file_name)?; -- cgit v1.2.3