From a9e50e9ff24fe4c6afcc0b14fc717c549e9ce192 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Sat, 26 Mar 2011 20:40:05 +0000 Subject: [PATCH] generate-packages-sources2: Add external overrides Signed-off-by: Ansgar Burchardt --- dak/generate_packages_sources2.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dak/generate_packages_sources2.py b/dak/generate_packages_sources2.py index ea3c0e53..c23ede9b 100755 --- a/dak/generate_packages_sources2.py +++ b/dak/generate_packages_sources2.py @@ -160,6 +160,11 @@ SELECT bm.bin_id = tmp.binary_id AND key != 'Section' AND key != 'Priority' ) + || COALESCE(E'\n' || (SELECT + STRING_AGG(key || '\: ' || value, E'\n' ORDER BY key) + FROM external_overrides eo + WHERE eo.package = tmp.package + ), '') || E'\nSection\: ' || sec.section || E'\nPriority\: ' || pri.priority || E'\nFilename\: pool/' || tmp.filename -- 2.39.5