aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-02-14 15:46:14 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-02-14 15:46:14 +0100
commitc37fd731207042e1da9666f60aad51061eb39893 (patch)
tree96baf3c3e477a9362e2a96fd7cd3898c3c27e8d4
parent5c2e024291ac3173b6d9976e81f0a028e69a4da6 (diff)
copy correct image file out of build directory
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index cadfd60..4a93169 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -131,7 +131,7 @@ fn main() -> anyhow::Result<()> {
compile(&arch, cross, &img)?;
println!("Kernel compiled successfully");
- let kernel_path = format!("arch/{}/boot/bzImage", arch);
+ let kernel_path = format!("arch/{}/boot/{}", arch, img);
env::set_current_dir(current_dir)?;