From 50cd46d209e8b071a62b31c704869e707a84d202 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 26 Aug 2014 00:32:46 +0200 Subject: [PATCH] Adding deb-src entries for sources.list source archives. --- components/init | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/components/init b/components/init index 7a1178d25..639ada82d 100755 --- a/components/init +++ b/components/init @@ -329,9 +329,13 @@ def main(): # config/archives/debian.list.source f = open('config/archives/debian.list.source', 'w') f.write('deb ' + mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' + 'deb-src ' + mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' 'deb ' + mirror_source_security + ' ' + distribution + '/updates ' + archive_areas + '\n' + 'deb-src ' + mirror_source_security + ' ' + distribution + '/updates ' + archive_areas + '\n' 'deb ' + mirror_source + ' ' + distribution + '-updates ' + archive_areas + '\n' - 'deb ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n') + 'deb-src ' + mirror_source + ' ' + distribution + '-updates ' + archive_areas + '\n' + 'deb ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n' + 'deb-src ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n') f.close() elif(project == 'progress-linux'): # config/archives/debian.list.bootstrap @@ -369,9 +373,13 @@ def main(): # config/archives/debian.list.source f = open('config/archives/debian.list.source', 'w') f.write('deb ' + parent_mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' + 'deb-src ' + parent_mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' 'deb ' + parent_mirror_source_security + ' ' + distribution + '/updates ' + archive_areas + '\n' + 'deb-src ' + parent_mirror_source_security + ' ' + distribution + '/updates ' + archive_areas + '\n' 'deb ' + parent_mirror_bootstrap + ' ' + distribution + '-updates ' + archive_areas + '\n' - 'deb ' + parent_mirror_bootstrap + ' ' + distribution + '-backports' + archive_areas + '\n') + 'deb-src ' + parent_mirror_bootstrap + ' ' + distribution + '-updates ' + archive_areas + '\n' + 'deb ' + parent_mirror_bootstrap + ' ' + distribution + '-backports' + archive_areas + '\n' + 'deb-src ' + parent_mirror_bootstrap + ' ' + distribution + '-backports' + archive_areas + '\n') f.close() # config/archives/project.list.bootstrap @@ -409,9 +417,13 @@ def main(): # config/archives/project.list.source f = open('config/archives/' + project + '.list.source', 'w') f.write('deb ' + mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' + 'deb-src ' + mirror_source + ' ' + distribution + ' ' + archive_areas + '\n' 'deb ' + mirror_source_security + ' ' + distribution + '-security ' + archive_areas + '\n' + 'deb-src ' + mirror_source_security + ' ' + distribution + '-security ' + archive_areas + '\n' 'deb ' + mirror_source + ' ' + distribution + '-updates ' + archive_areas + '\n' - 'deb ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n') + 'deb-src ' + mirror_source + ' ' + distribution + '-updates ' + archive_areas + '\n' + 'deb ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n' + 'deb-src ' + mirror_source + ' ' + distribution + '-backports ' + archive_areas + '\n') f.close() ## Populating configuration directory