]> git.saurik.com Git - apt.git/commit - apt-pkg/pkgcachegen.cc
always create pkg at the time pkg:arch is created
authorDavid Kalnischkies <david@kalnischkies.de>
Tue, 19 Jan 2016 23:09:36 +0000 (00:09 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Mon, 25 Jan 2016 17:15:44 +0000 (18:15 +0100)
commit530302ef25d14bd7577f18cf98c2fa868c3c1dd3
tree7012f15154f9b401df001241830653790a819282
parent37ca1f876972e35b979ebd5ee78bb0e2623f011f
always create pkg at the time pkg:arch is created

To resolve dependencies like "pkg:arch" we create a package with the
name "pkg:arch" and the architecture "any". We create these packages
only if a dependency needs it as these kind of dependencies aren't that
common. This commit ensured that in the even this architecture specific
dependency is the only relation this package has we still create the
underlying package to have them available in provides resolution.
apt-pkg/pkgcachegen.cc
test/integration/test-apt-cache
test/integration/test-specific-architecture-dependencies