]> git.saurik.com Git - apt.git/commit - apt-pkg/deb/dpkgpm.cc
don't explicitly configure the last round of packages
authorDavid Kalnischkies <david@kalnischkies.de>
Wed, 8 Jun 2016 15:31:45 +0000 (17:31 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Wed, 8 Jun 2016 15:31:45 +0000 (17:31 +0200)
commitb4450f1dd6bca537e60406b2383ab154a3e1485f
tree67ff0903b0dac59c1d307852e4768e63427e92ee
parent007d8b488787f4c33ced5937f22f99f1b759088a
don't explicitly configure the last round of packages

We end our operation by calling "dpkg --configure -a", so instead of
running a (big) configure run with all packages mentioned explicitly
before this, we simply skip them and let them be handled by this call
implicitly.

There isn't really an observeable gain to be had here from a speed
point, but it helps in avoiding an (uncommon) problem of having a too
long commandline passed to dpkg, which we would split up (probably
incorrectly).
apt-pkg/deb/dpkgpm.cc
test/integration/test-apt-progress-fd
test/integration/test-apt-progress-fd-deb822
test/integration/test-dpkg-assert-multi-arch
test/integration/test-no-fds-leaked-to-maintainer-scripts