summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-23 11:25:12 -0400
committerIan Moffett <ian@osmora.org>2025-09-23 11:25:12 -0400
commit7651f7d25815a8100939849ba242d0704b34926a (patch)
tree7989d8ae78237c862b8e2b7d0bcb85a0e5f55365 /src/Makefile
parentad5524398e8ba26509a8dbb7f344417db3a6702e (diff)
build: Properly copy to / clean up iso_root
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 14ad368..15a65e2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -49,12 +49,14 @@ image:
mkdir -p iso_root/boot/
cp data/boot/limine.conf $(SHIMDIR)/limine/limine-bios.sys \
$(SHIMDIR)/limine/limine-bios-cd.bin $(SHIMDIR)/limine/limine-uefi-cd.bin iso_root/
- $(OMAR) -i $(SYSROOT) -o $(SYSROOT)/boot/initrd.omar
+ cp data/boot/wallpaper.jpg iso_root/boot
+ $(OMAR) -i $(SYSROOT) -o iso_root/boot/initrd.omar
cp sys/l5 iso_root/boot/
xorriso -as mkisofs -b limine-bios-cd.bin -no-emul-boot -boot-load-size 4\
-boot-info-table --efi-boot limine-uefi-cd.bin -efi-boot-part \
--efi-boot-image --protective-msdos-label iso_root/ -o $(ISO) 1>/dev/null
$(SHIMDIR)/limine/limine bios-install $(ISO) 1>/dev/null
+ rm -rf iso_root/
.PHONY: qemu-amd64