Author: nwhitehorn
Date: Thu May 12 22:31:13 2011
New Revision: 221825
URL: http://svn.freebsd.org/changeset/base/221825

Log:
  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.

Modified:
  head/release/powerpc/mkisoimages.sh

Modified: head/release/powerpc/mkisoimages.sh
==============================================================================
--- head/release/powerpc/mkisoimages.sh Thu May 12 22:21:39 2011        
(r221824)
+++ head/release/powerpc/mkisoimages.sh Thu May 12 22:31:13 2011        
(r221825)
@@ -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=""
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to