#!/bin/sh
#
# Create an iso that can be booted under qemu.
# For now, this is just to make ofwldr available to qemu.  A disk image will
# still be required yet.
#

CD=output-ppc/ppcboot
I=$CD/install
TOOLS=tools/ppc.lost+found

mkdir -p $I
cp output-ppc/boot/freeldr/freeldr/ofwldr $I/yaboot
cp `dirname $0`/ofboot.b $I

mkisofs -chrp-boot -U -part -hfs -T -r -l -J -A "ReactOS" -sysid PPC \
	-V "ReactOS" -volset 1 -volset-size 1 -volset-seqno 1 \
	-hfs-volid "ReactOS" -hfs-bless $I -map $TOOLS/hfsmap.lst \
	-no-desktop -allow-multidot -o ppcboot.iso $CD
