aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-05-12 22:31:13 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-05-12 22:31:13 +0000
commitdf7c03cf8ba3a14c279431cad9b38ff7ebf83726 (patch)
tree020a9764e68468d10676f07fbee7b96b55899fab /release/powerpc
parent59ea47d08d4778ca98e63f8e2e5af49a04c90f4c (diff)
downloadsrc-df7c03cf8ba3a14c279431cad9b38ff7ebf83726.tar.gz
src-df7c03cf8ba3a14c279431cad9b38ff7ebf83726.zip
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.
Notes
Notes: svn path=/head/; revision=221825
Diffstat (limited to 'release/powerpc')
-rw-r--r--release/powerpc/mkisoimages.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/release/powerpc/mkisoimages.sh b/release/powerpc/mkisoimages.sh
index 64e616561d34..63619fb62716 100644
--- a/release/powerpc/mkisoimages.sh
+++ b/release/powerpc/mkisoimages.sh
@@ -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=""