From: Paul Mackerras Date: Thu, 8 Nov 2007 03:28:14 +0000 (+1100) Subject: Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer... X-Git-Tag: v2.6.24-rc3~175^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=688016f4e2028e3c2c27e959ad001536e10ee2c5;p=linux-2.6 Merge branch 'for-2.6.24' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx into merge --- 688016f4e2028e3c2c27e959ad001536e10ee2c5 diff --cc arch/powerpc/boot/wrapper index ece6f49638,5ae48f474d..31147a0377 --- a/arch/powerpc/boot/wrapper +++ b/arch/powerpc/boot/wrapper @@@ -281,25 -290,13 +289,15 @@@ ps3 rm -f "$object/otheros.bld" + ${CROSS}objcopy -O binary "$ofile" "$ofile.bin" + - msg=$(dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ - skip=$overlay_dest seek=$system_reset_kernel \ - count=$overlay_size bs=1 2>&1) + dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ + skip=$overlay_dest seek=$system_reset_kernel \ + count=$overlay_size bs=1 - if [ $? -ne "0" ]; then - echo $msg - exit 1 - fi - - msg=$(dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ - skip=$system_reset_overlay seek=$overlay_dest \ - count=$overlay_size bs=1 2>&1) - - if [ $? -ne "0" ]; then - echo $msg - exit 2 - fi + dd if="$ofile.bin" of="$ofile.bin" conv=notrunc \ + skip=$system_reset_overlay seek=$overlay_dest \ + count=$overlay_size bs=1 gzip --force -9 --stdout "$ofile.bin" > "$object/otheros.bld" ;;