aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc/mkisoimages.sh
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-05-05 13:55:43 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2011-05-05 13:55:43 +0000
commiteadacd132827781692d4be834ced793f786b31a2 (patch)
treea300046d2174a7a3e267937f49f35e5e6ee7b262 /release/powerpc/mkisoimages.sh
parent6d0d87ca78945b062f08ea0bbbd613e514ef1bd4 (diff)
downloadsrc-eadacd132827781692d4be834ced793f786b31a2.tar.gz
src-eadacd132827781692d4be834ced793f786b31a2.zip
Garbage collect some unused variables and stray debug code.
Submitted by: marius
Notes
Notes: svn path=/head/; revision=221494
Diffstat (limited to 'release/powerpc/mkisoimages.sh')
-rw-r--r--release/powerpc/mkisoimages.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/release/powerpc/mkisoimages.sh b/release/powerpc/mkisoimages.sh
index 52c3b08b6f77..5c4b0df391f2 100644
--- a/release/powerpc/mkisoimages.sh
+++ b/release/powerpc/mkisoimages.sh
@@ -23,13 +23,11 @@
# extra-bits-dir, if provided, contains additional files to be merged
# into base-bits-dir as part of making the image.
-publisher="The FreeBSD Project. http://www.freebsd.org/"
if [ "x$1" = "x-b" ]; then
uudecode -o /tmp/hfs-boot-block.bz2 `dirname $0`/hfs-boot.bz2.uu
bzip2 -d /tmp/hfs-boot-block.bz2
OFFSET=$(hd /tmp/hfs-boot-block | grep 'Loader START' | cut -f 1 -d ' ')
OFFSET=0x$(echo 0x$OFFSET | awk '{printf("%x\n",$1/512);}')
- echo dd if=$4/boot/loader of=/tmp/hfs-boot-block seek=$OFFSET conv=notrunc
dd if=$4/boot/loader of=/tmp/hfs-boot-block seek=$OFFSET conv=notrunc
bootable="-o bootimage=macppc;/tmp/hfs-boot-block -o no-emul-boot"