From: Ansgar Burchardt Date: Thu, 12 Jul 2012 17:32:20 +0000 (-0600) Subject: config/*/dinstall.functions: include Built-Using sources X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e02c623be4a83422766d20611c6fadde362be98e;p=dak config/*/dinstall.functions: include Built-Using sources Include source packages only referenced by Built-Using in per-suite source indices. --- diff --git a/config/backports/dinstall.functions b/config/backports/dinstall.functions index 2ef349b2..67b40de2 100644 --- a/config/backports/dinstall.functions +++ b/config/backports/dinstall.functions @@ -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 diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 66840812..c21c10a2 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -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