Skip to content

Commit

Permalink
powerpc: Call gzip with -n
Browse files Browse the repository at this point in the history
The timestamps recorded in the .gz files add no value.

Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: [email protected]
Signed-off-by: Michal Marek <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
  • Loading branch information
michal42 authored and ozbenh committed May 19, 2011
1 parent a0496d4 commit c4f56af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/powerpc/boot/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ if [ -z "$cacheit" -o ! -f "$vmz$gzip" -o "$vmz$gzip" -ot "$kernel" ]; then
${CROSS}objcopy $objflags "$kernel" "$vmz.$$"

if [ -n "$gzip" ]; then
gzip -f -9 "$vmz.$$"
gzip -n -f -9 "$vmz.$$"
fi

if [ -n "$cacheit" ]; then
Expand Down Expand Up @@ -343,7 +343,7 @@ coff)
$objbin/hack-coff "$ofile"
;;
cuboot*)
gzip -f -9 "$ofile"
gzip -n -f -9 "$ofile"
${MKIMAGE} -A ppc -O linux -T kernel -C gzip -a "$base" -e "$entry" \
$uboot_version -d "$ofile".gz "$ofile"
;;
Expand Down Expand Up @@ -390,6 +390,6 @@ ps3)

odir="$(dirname "$ofile.bin")"
rm -f "$odir/otheros.bld"
gzip --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
gzip -n --force -9 --stdout "$ofile.bin" > "$odir/otheros.bld"
;;
esac

0 comments on commit c4f56af

Please sign in to comment.