aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot/wrapper
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2011-04-05 00:58:50 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-05-19 00:30:40 -0400
commitc4f56af0f64ea894363b428b6590f5073047b455 (patch)
tree42f30ae72730cba7f9b0564f7a27e4a222441890 /arch/powerpc/boot/wrapper
parenta0496d450ab8c17f6c4d86979b1f6ba486fe9365 (diff)
powerpc: Call gzip with -n
The timestamps recorded in the .gz files add no value. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Paul Mackerras <paulus@samba.org> Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/boot/wrapper')
-rwxr-xr-xarch/powerpc/boot/wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index dfa29cb0f475..c74531af72c0 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -258,7 +258,7 @@ if [ -z "$cacheit" -o ! -f "$vmz$gzip" -o "$vmz$gzip" -ot "$kernel" ]; then
258 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$" 258 ${CROSS}objcopy $objflags "$kernel" "$vmz.$$"
259 259
260 if [ -n "$gzip" ]; then 260 if [ -n "$gzip" ]; then
261 gzip -f -9 "$vmz.$$" 261 gzip -n -f -9 "$vmz.$$"
262 fi 262 fi
263 263
264 if [ -n "$cacheit" ]; then 264 if [ -n "$cacheit" ]; then
@@ -343,7 +343,7 @@ coff)
343 $objbin/hack-coff "$ofile" 343 $objbin/hack-coff "$ofile"
344 ;; 344 ;;
345cuboot*) 345cuboot*)
346 gzip -f -9 "$ofile" 346 gzip -n -f -9 "$ofile"
347 ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \ 347 ${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
348 $uboot_version -d "$ofile".gz "$ofile" 348 $uboot_version -d "$ofile".gz "$ofile"
349 ;; 349 ;;
@@ -390,6 +390,6 @@ ps3)
390 390
391 odir="$(dirname "$ofile.bin")" 391 odir="$(dirname "$ofile.bin")"
392 rm -f "$odir/otheros.bld" 392 rm -f "$odir/otheros.bld"
393 gzip --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld" 393 gzip -n --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
394 ;; 394 ;;
395esac 395esac