@ -18,13 +18,19 @@ then
tar --use-compress-program= bzip2 \
-xf $base /build/${ ROCKCFG_ID } /ROCK/pkgs/yaboot.tar.bz2 \
usr/lib/yaboot/yaboot.rs6k -O > boot/yaboot.rs6k
cp boot/yaboot.rs6k install.bin
#
echo_status "Creating yaboot config file."
cp -v $base /target/$target /powerpc/{ yaboot.conf, boot.msg,ofboot.b} \
echo_status "Creating yaboot config files ."
cp -v $base /target/$target /powerpc/{ boot.msg,ofboot.b} \
boot
echo_status "Creating the IBM RS/6k yaboot config file."
cp -v $base /target/$target /powerpc/yaboot.conf etc
echo "Duplicates of /boot used on IBM RS/6k hardware." > etc/README
(
echo "device=cdrom:"
cat $base /target/$target /powerpc/yaboot.conf
) > etc/yaboot.conf
(
echo "device=cd:"
cat $base /target/$target /powerpc/yaboot.conf
) > boot/yaboot.conf
#
echo_status "Moving image (initrd) to yaboot directory."
mv -v initrd.gz boot/
@ -32,12 +38,14 @@ then
echo_status "Copy more config files."
cp -v $base /target/$target /powerpc/mapping .
#
datdir = " build/ ${ ROCKCFG_ID } /ROCK/bootdisk "
data dir = " build/ ${ ROCKCFG_ID } /ROCK/bootdisk "
cat > ../isofs_arch.txt <<- EOT
BOOT -hfs -part -map $datdir /mapping -hfs-volid "ROCK_Linux_CD"
BOOTx -hfs-bless boot -sysid PPC
BOOTx -prep-boot boot/yaboot -prep-boot boot/yaboot.rs6k
DISK1 $datdir /boot/ boot/
BOOT -hfs -part -map $datadir /mapping -hfs-volid "ROCK_Linux_CD"
BOOTx -hfs-bless boot -sysid PPC -l -L -r -T -chrp-boot
BOOTx --prep-boot install.bin
DISK1 $datadir /boot/ boot/
DISK1 $datadir /etc/ etc/
DISK1 $datadir /install.bin install.bin
EOT
# SCRIPT sh $base/target/bootdisk/powerpc/bless-rs6k.sh $disksdir
fi