paw: boot: Generate pre-boot image
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user