Subject: Creating ISO CD ...
To: None <port-macppc@NetBSD.org>
From: KlinT <klint@klintcentral.net>
List: port-macppc
Date: 10/07/2006 09:12:56
Hi All,

Well, I've not build a MACPPC/NetBSD-Current ISO CD for a long time.  
I guess that there are some change ...
Please Can somebody help me ?

Here is the procedure I used before ( 3.99.x release ) :

in the RELEASE.MACPPC directory :

# cd /sata2/BUILD/release.macppc
# cp macppc/binary/kernel/netbsd-GENERIC_MD.gz netbsd.macppc
# cp macppc/installation/ofwboot.xcf .

Creation of the CHRP Bootscript in "release.macppc/macppc/" :
------------------------------------------------------------------------ 
----------
<CHRP-BOOT>
<COMPATIBLE>MacRISC</COMPATIBLE>
<DESCRIPTION>
NetBSD/4.99.3/macppc/MacPPC bootable CD script
</DESCRIPTION>
<BOOT-SCRIPT>
boot cd:,ofwboot.xcf netbsd.macppc
</BOOT-SCRIPT>
</CHRP-BOOT>
------------------------------------------------------------------------ 
----------

Adding Some lines to HFSMAP.LST :
# echo ".chrp - 'chrp' 'tbxi'" >> /sata2/BUILD/src/distrib/cdrom/ 
hfsmap.lst

ISO Image Creation :

# mkisofs -o NetBSD-4.99.3_macppc_20061006.iso -hfs -part -map /sata2/ 
BUILD/src/distrib/cdrom/hfsmap.lst -hfs-bless ./macppc  /sata2/BUILD/ 
src/distrib/cdrom -boot-hfs-file /sata2/BUILD/src/distrib/cdrom/ 
macppc_installboot/macppcboot.raw -l -J -r -L /sata2/BUILD/ 
release.macppc

BLKNUM=`ls -l NetBSD-4.99.3_macppc_20061006.iso | awk '{print $5}'`
BLKNUM=`expr ${BLKNUM} / 512`

# /sata2/BUILD/src/distrib/cdrom/macppc_installboot/ 
macppc_installboot NetBSD-4.99.3_macppc_20061006.iso ${BLKNUM} 756

dd if=/sata2/BUILD/dest.macppc/usr/mdec/ofwboot bs=64k count=1  
conv=sync >> NetBSD-4.99.3_macppc_20061006.iso





Well, right now, I've successfully build the 4.99.3 MacPPC Release,  
but I was unable to find the file macppcboot.raw !

I've seen that it is no longer included in the source tree ...

What is the new way to make this ?

Many thanks

Best regards.