From e636ea46c56ca11dd111e59405d92aa3ee81ad9f Mon Sep 17 00:00:00 2001 From: Arslaan Pathan Date: Wed, 3 Jun 2026 09:25:29 +1200 Subject: Make the ISO include the squashfs image and start working on the init script in initramfs --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 37c24ea..1c9cd3b 100644 --- a/Makefile +++ b/Makefile @@ -131,12 +131,14 @@ iso: kernel initramfs busybox rootfs $(LIMINE_DIR) echo "[yerba] bootstrapping Limine and creating ISO..."; \ mkdir -p $(ISO_ROOT)/boot/limine; \ mkdir -p $(ISO_ROOT)/EFI/BOOT; \ + mkdir -p $(ISO_ROOT)/yerba; \ cp $(BUILD_DIR)/bzImage $(ISO_ROOT)/boot/; \ cp $(BUILD_DIR)/initramfs.cpio.gz $(ISO_ROOT)/boot/; \ cp $(WORKING_DIR)/limine.conf $(ISO_ROOT)/boot/limine; \ cp $(LIMINE_DIR)/limine-bios.sys $(LIMINE_DIR)/limine-bios-cd.bin $(LIMINE_DIR)/limine-uefi-cd.bin $(ISO_ROOT)/boot/limine; \ cp $(LIMINE_DIR)/BOOTX64.EFI $(ISO_ROOT)/EFI/BOOT/; \ cp $(LIMINE_DIR)/BOOTIA32.EFI $(ISO_ROOT)/EFI/BOOT/; \ + cp $(BUILD_DIR)/rootfs.squashfs $(ISO_ROOT)/yerba/; \ xorriso -as mkisofs -R -r -J -b boot/limine/limine-bios-cd.bin -no-emul-boot -boot-load-size 4 -boot-info-table -hfsplus -apm-block-size 2048 --efi-boot boot/limine/limine-uefi-cd.bin -efi-boot-part --efi-boot-image --protective-msdos-label $(ISO_ROOT) -o $(ISO_PATH); \ $(LIMINE_DIR)/limine bios-install $(ISO_PATH); \ fi -- cgit v1.2.3