]> err.no Git - dak/commitdiff
config/*/dinstall.functions: include Built-Using sources
authorAnsgar Burchardt <ansgar@debian.org>
Thu, 12 Jul 2012 17:32:20 +0000 (11:32 -0600)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 11 Aug 2012 11:43:08 +0000 (13:43 +0200)
Include source packages only referenced by Built-Using in per-suite
source indices.

config/backports/dinstall.functions
config/debian/dinstall.functions

index 2ef349b2e7064e58db03566cf49c1b71654d31f6..67b40de21f1287ff201d66a8f3a8155089ff0b52 100644 (file)
@@ -318,6 +318,11 @@ function mkfilesindices() {
                FROM src_associations sa
               WHERE sa.suite = $suite_id
              UNION
+             SELECT esr.src_id
+               FROM extra_src_references esr
+               JOIN bin_associations ba ON esr.bin_id = ba.bin
+               WHERE ba.suite = $suite_id
+             UNION
              SELECT b.source AS source
                FROM bin_associations ba
                JOIN binaries b ON ba.bin = b.id WHERE ba.suite = $suite_id) s
index 66840812987fa4e0a69ce3f4806cb14e2b08f9de..c21c10a2fc73a13157a4ad4a1cdefe8eafdc623d 100644 (file)
@@ -301,6 +301,11 @@ function mkfilesindices() {
                FROM src_associations sa
               WHERE sa.suite = $suite_id
              UNION
+             SELECT esr.src_id
+               FROM extra_src_references esr
+               JOIN bin_associations ba ON esr.bin_id = ba.bin
+               WHERE ba.suite = $suite_id
+             UNION
              SELECT b.source AS source
                FROM bin_associations ba
                JOIN binaries b ON ba.bin = b.id WHERE ba.suite = $suite_id) s