summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2013-05-23 12:14:56 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2013-06-09 15:12:07 +0200
commit42d51f333e8ef522fed02cdfc48663488d56c3a3 (patch)
tree1126b451b713419101f44764f425bb5688a62995 /apt-pkg/algorithms.cc
parent66706285737a895d0baf64c2387c58d5211be4f9 (diff)
do unpacks before configures in SmartConfigure
Splits the big loop over dependencies in SmartConfigure which unpacks and configures dependencies into two loops and reverse their order, so that all dependencies which need to be unpacked are handled first and only after that configures are issued for dependencies. This is needed as otherwise the unpack of a (new) dependency will be issued in between a configure call for two (or more) packages which form a loop, which means the configure calls aren't part of the same dpkg call and therefore dpkg bails out. Such tight loops should really be avoided as they are usually wrong – and in reality the dependencies in libreoffice were greatly simplified thanks to Rene Engelhard so the problem is gone for the benefit of all. Closes: 707578
Diffstat (limited to 'apt-pkg/algorithms.cc')
0 files changed, 0 insertions, 0 deletions