Avoid embedding timestamps into gzipped Packages and Translations files.
Signed-off-by: Holger Levsen <holger@layer-acht.org>
This commit is contained in:
parent
6b61e01f15
commit
65196d4dcf
|
@ -23,6 +23,9 @@ debian-cd (3.1.36) UNRELEASED; urgency=medium
|
|||
* Update default CODENAME to bookworm in various places.
|
||||
Closes: #994121
|
||||
|
||||
[ Jonathan Hettwer ]
|
||||
* Avoid embedding timestamps into gzipped Packages and Translations files.
|
||||
|
||||
-- Steve McIntyre <93sam@debian.org> Mon, 26 Jul 2021 01:02:03 +0100
|
||||
|
||||
debian-cd (3.1.35) unstable; urgency=medium
|
||||
|
|
|
@ -656,13 +656,13 @@ sub recompress {
|
|||
# Packages and Sources files; workaround for bug #402482
|
||||
if ($filename =~ m/\/.*\/(Packages|Sources)$/o) {
|
||||
system("rm -f $_.gz");
|
||||
system("gzip -9c < $_ >$_.gz");
|
||||
system("gzip --no-name -9c < $_ >$_.gz");
|
||||
}
|
||||
# Translation files need to be compressed in .gz format on CD?
|
||||
if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o &&
|
||||
! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) {
|
||||
system("rm -f $_.gz");
|
||||
system("gzip -9c < $_ >$_.gz");
|
||||
system("gzip --no-name -9c < $_ >$_.gz");
|
||||
system("rm -f $_");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue