Compress base.img using FastLZ library

This commit is contained in:
2025-11-09 21:38:27 +01:00
parent e4a5c07b3d
commit 02d60129b1
58 changed files with 3676 additions and 10 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
rm -f base.img
rm -f base.img base.img.6pack
cat user/FILES.txt | while read line; do cp -v $line base/bin; done
mklittlefs -c base -b 512 -s $((1<<20)) base.img
./FastLZ/examples/6pack -2 base.img base.img.6pack

View File

@ -3,7 +3,7 @@
rm -rf iso_root
mkdir -p iso_root/boot
cp -v kernel/mop2 iso_root/boot
cp -v base.img iso_root
cp -v base.img.6pack iso_root
mkdir -p iso_root/boot/limine
cp -v limine.conf limine/limine-bios.sys limine/limine-bios-cd.bin \
limine/limine-uefi-cd.bin iso_root/boot/limine