aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.zig b/build.zig
index 1e3d52e..648c787 100644
--- a/build.zig
+++ b/build.zig
@@ -48,7 +48,7 @@ pub fn build(b: *Build) !void {
const iso_dir = b.fmt("{?s}/iso_root", .{b.cache_root.path});
// const kernel_path = b.install_path ++ "/" ++ kernel.out_filename;
// const kernel_path = b.getInstallPath(kernel.install_step.?.dest_dir, kernel.out_filename);
- const kernel_path = try fs.path.join(b.allocator, &[_][]const u8{ b.install_path, kernel.out_filename });
+ const kernel_path = try fs.path.join(b.allocator, &[_][]const u8{ b.install_path, "bin", kernel.out_filename });
const iso_path = b.fmt("{s}/disk.iso", .{b.exe_dir});
const iso_cmd_str = &[_][]const u8{ "/bin/sh", "-c", std.mem.concat(b.allocator, u8, &[_][]const u8{ "mkdir -p ", iso_dir, " && ", "cp ", kernel_path, " ", iso_dir, " && ", "cp src/grub.cfg ", iso_dir, " && ", "grub-mkrescue -o ", iso_path, " ", iso_dir }) catch unreachable };