Skip to contentSkip to conversation

kbd : suggestion to remove gzip timestamp from compressed consolefonts

kbd Alexey Gladkov 1 participant 1 message Dec 21, 2008 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Gilles Espinasse

As gzip is used on kbd with MYGZIP = gzip -f -9 to compress consolefonts, this include the timestamp (and filename) in each compressed file. The result is that two compilations of kbd package at a different time produce consolefonts .gz files with different md5.

Quoted 7 lines

To help paranoid to sleep and because this is simplier to track changes when there is reallly changes, that's possible to remove gzip timestamp adding -n option to gzip.
So consolefonts files are a few bit smaller and keep the same md5 across rebuild.
Even the oldest gzip version I find (gzip-1.2.4 dated from 1993) support -n option.

Good catch! I will apply it.

Signature · 1 line
Rgrds, legion