summaryrefslogtreecommitdiffstats
path: root/release/powerpc
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-05-12 22:31:13 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-05-12 22:31:13 +0000
commit24d9363753d66085a84ebea7638f5cafd1f4c30c (patch)
tree020a9764e68468d10676f07fbee7b96b55899fab /release/powerpc
parent6fd0f335d929854d9189d46d8279e5f8534989dd (diff)
downloadFreeBSD-src-24d9363753d66085a84ebea7638f5cafd1f4c30c.zip
FreeBSD-src-24d9363753d66085a84ebea7638f5cafd1f4c30c.tar.gz
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.
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 64e6165..63619fb 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=""
OpenPOWER on IntegriCloud