* When we've finished making a CD tree in make_disc_trees.pl,
re-compress the gzipped Sources and Packages. Workaround for bug #402482 in busybox gunzip code.
This commit is contained in:
parent
5098066aeb
commit
7780369fd4
|
@ -158,6 +158,9 @@ debian-cd (3.0.0) UNRELEASED; urgency=low
|
|||
fork/exec all the time. Re-arranged tools/add_packages to make
|
||||
this work.
|
||||
* Improved logging in add_packages.
|
||||
* When we've finished making a CD tree in make_disc_trees.pl,
|
||||
re-compress the gzipped Sources and Packages. Workaround for bug
|
||||
#402482 in busybox gunzip code.
|
||||
|
||||
-- Frans Pop <fjp@debian.org> Thu, 7 Dec 2006 02:00:04 +0100
|
||||
|
||||
|
|
|
@ -169,6 +169,13 @@ sub md5_files_for_release {
|
|||
my ($md5, $size, $filename);
|
||||
|
||||
$filename = $File::Find::name;
|
||||
|
||||
# Recompress the Packages and Sources files; workaround for bug
|
||||
# #402482
|
||||
if ($filename =~ m/\/.*\/(Packages|Sources)$/o) {
|
||||
system("gzip -9c < $_ >$_.gz");
|
||||
}
|
||||
|
||||
if ($filename =~ m/\/.*\/(Packages|Sources|Release)/o) {
|
||||
$filename =~ s/^\.\///g;
|
||||
($md5, $size) = md5_file($_);
|
||||
|
|
Loading…
Reference in New Issue