aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-02-14 16:29:03 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-02-14 16:29:03 +0100
commit241a4f0748bafd0c517729d135d27e09d0ac40ff (patch)
treee3d9803f179aebf2df187ad9559454ada85b7b1f
parentc37fd731207042e1da9666f60aad51061eb39893 (diff)
name kernel output file after user provided flag, not the actual architecture
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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)?;