mirror of
https://salsa.debian.org/images-team/debian-cd.git
synced 2024-11-24 15:19:51 -01:00
tools/sort_deps: Improve handling of too-large packages
Previously, the code would only check sizes for packages explicitly listed but packages brought in due to dependency resolution would not be checked. Now fixed.
This commit is contained in:
parent
08a8e2e3a3
commit
87aff198e3
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -8,6 +8,10 @@ debian-cd (3.1.18) UNRELEASED; urgency=medium
|
||||
* Fix handlinkg of LOGOPNG when we've got "doppelganer" initramfs files
|
||||
* Add support for debian-edu builds
|
||||
* Change cpp usage in the Makefile to make error handling more reliable
|
||||
* tools/sort_deps: Improve handling of too-large packages. Previously,
|
||||
the code would only check sizes for packages explicitly listed but
|
||||
packages brought in due to dependency resolution would not be
|
||||
checked. Now fixed.
|
||||
|
||||
[ Didier Raboud ]
|
||||
* For stretch, swap amd64 and i386 to let the first be the norm, and the
|
||||
|
@ -873,6 +873,11 @@ sub add_missing {
|
||||
my %t = %$pkg;
|
||||
my $pkgname = $t{"Package"};
|
||||
|
||||
if ($packages{$pkgname}{"Size"} > $max_pkg_size) {
|
||||
msg(2, " $pkgname is too big, mark it as excluded\n");
|
||||
$excluded{$pkgname} = 'toobig';
|
||||
}
|
||||
|
||||
# Already installed?
|
||||
if (dep_satisfied($pkg)) {
|
||||
msg(3, " OR relationship already installed: " . dump_depend($pkg) . "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user