Commit 6ae9ecb86188cc8419024cdb299f18d4ae4f5713
1 parent
1e2795a119
Exists in
master
and in
4 other branches
kbuild: Call gzip with -n
The timestamps recorded in the .gz files add no value. Signed-off-by: Michal Marek <mmarek@suse.cz>
Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff
scripts/Makefile.lib
... | ... | @@ -197,7 +197,7 @@ |
197 | 197 | # --------------------------------------------------------------------------- |
198 | 198 | |
199 | 199 | quiet_cmd_gzip = GZIP $@ |
200 | -cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -f -9 > $@) || \ | |
200 | +cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ | |
201 | 201 | (rm -f $@ ; false) |
202 | 202 | |
203 | 203 | # DTC |
scripts/gen_initramfs_list.sh
... | ... | @@ -226,7 +226,7 @@ |
226 | 226 | output="/dev/stdout" |
227 | 227 | output_file="" |
228 | 228 | is_cpio_compressed= |
229 | -compr="gzip -9 -f" | |
229 | +compr="gzip -n -9 -f" | |
230 | 230 | |
231 | 231 | arg="$1" |
232 | 232 | case "$arg" in |
... | ... | @@ -240,7 +240,7 @@ |
240 | 240 | output_file="$1" |
241 | 241 | cpio_list="$(mktemp ${TMPDIR:-/tmp}/cpiolist.XXXXXX)" |
242 | 242 | output=${cpio_list} |
243 | - echo "$output_file" | grep -q "\.gz$" && compr="gzip -9 -f" | |
243 | + echo "$output_file" | grep -q "\.gz$" && compr="gzip -n -9 -f" | |
244 | 244 | echo "$output_file" | grep -q "\.bz2$" && compr="bzip2 -9 -f" |
245 | 245 | echo "$output_file" | grep -q "\.lzma$" && compr="lzma -9 -f" |
246 | 246 | echo "$output_file" | grep -q "\.xz$" && \ |