Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F141964535
D54639.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
557 B
Referenced Files
None
Subscribers
None
D54639.diff
View Options
diff --git a/release/powerpc/mkisoimages.sh b/release/powerpc/mkisoimages.sh
--- a/release/powerpc/mkisoimages.sh
+++ b/release/powerpc/mkisoimages.sh
@@ -75,7 +75,7 @@
# Apple boot code
uudecode -p "`dirname "$0"`/hfs-boot.bz2.uu" | bunzip2 > $BOOTBLOCK
OFFSET=$(hd $BOOTBLOCK | grep 'Loader START' | cut -f 1 -d ' ')
- OFFSET=0x$(echo 0x$OFFSET | awk '{printf("%x\n",$1/512);}')
+ OFFSET=$((0x${OFFSET} / 512))
dd if="$BASEBITSDIR/boot/loader" of=$BOOTBLOCK seek=$OFFSET conv=notrunc
bootable="-o bootimage=macppc;$BOOTBLOCK -o no-emul-boot"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 15, 6:32 AM (33 m, 59 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27618232
Default Alt Text
D54639.diff (557 B)
Attached To
Mode
D54639: powerpc: fix release image building for Apple partitions
Attached
Detach File
Event Timeline
Log In to Comment