avoid hardcoding files

This commit is contained in:
Dario48 2025-07-15 21:04:28 +02:00
parent 497323c9f9
commit fa3867a6f1

View file

@ -24,7 +24,7 @@ pub fn build(b: *std.Build) void {
b.getInstallStep().dependOn(&img_install.step);
const run = b.addSystemCommand(&.{ "qemu-system-i386", "-fda" });
run.addFileArg(b.path("zig-out/bin/initramfs.img"));
run.addFileArg(floppy.obj);
const run_step = b.step("run", "run the os in qemu");
run_step.dependOn(&run.step);