Fix pSeries/PAPR boot CD construction after actual testing. It seems that

IBM SLOF is (a) case-sensitive and (b) accepts only booting files in
certain subdirectories of the CD.
This commit is contained in:
Nathan Whitehorn 2011-05-12 22:31:13 +00:00
parent 59ea47d08d
commit df7c03cf8b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221825

View File

@ -34,17 +34,15 @@ if [ "x$1" = "x-b" ]; then
bootable="-o bootimage=macppc;/tmp/hfs-boot-block -o no-emul-boot"
# pSeries/PAPR boot code
mkdir $4/ppc
mkdir -p $4/ppc/chrp
cp $4/boot/loader $4/ppc/chrp
cat > $4/ppc/bootinfo.txt << EOF
<CHRP-BOOT>
<DESCRIPTION>FreeBSD/powerpc</DESCRIPTION>
<OS-NAME>FreeBSD</OS-NAME>
<BOOT-SCRIPT>
boot &device;:&partition;,\boot\loader &device;:0
</BOOT-SCRIPT>
</CHRP-BOOT>
<chrp-boot>
<description>FreeBSD Install</description>
<os-name>FreeBSD</os-name>
<boot-script>boot &device;:&partition;,\ppc\chrp\loader</boot-script>
</chrp-boot>
EOF
shift
else
bootable=""