paw: boot: Generate pre-boot image

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 02:13:33 +00:00
parent eb8861e641
commit 1d1acee7f1
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -11,3 +11,4 @@ randomize_hhdm_base: yes
/SystemPaw 3
protocol: limine
kernel_path: boot():/boot/stoskrnl.sys
module_path: boot():/boot/pbi.hole
+6
View File
@@ -9,10 +9,16 @@ set -e
ISO=$ST_PROJECT_ROOT/artifacts/sp3.iso
CONFIG=$ST_PROJECT_ROOT/paw/base/boot/limine.conf
WALLPAPER=$ST_PROJECT_ROOT/paw/base/boot/*.jpg
HOLE=$ST_PROJECT_ROOT/paw/host/bin/hole
KERNEL=$ST_PROJECT_ROOT/artifacts/stoskrnl.sys
mkdir -p iso_root/boot/
# Create the pre-boot image (PBI)
pushd ../base
$HOLE -f . -o ../boot/iso_root/boot/pbi.hole
popd
# Copy the kernel to the ISO root
cp $KERNEL iso_root/boot