mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Reverting 210999f
, as asked by @jkaplowitz
This commit is contained in:
parent
9e61ac94d2
commit
719a6c31b0
1 changed files with 8 additions and 1 deletions
|
@ -6,12 +6,19 @@ import os
|
||||||
|
|
||||||
|
|
||||||
class SetPackageRepositories(Task):
|
class SetPackageRepositories(Task):
|
||||||
description = 'Adding goog apt source'
|
description = 'Adding apt sources'
|
||||||
phase = phases.preparation
|
phase = phases.preparation
|
||||||
successors = [apt.AddManifestSources]
|
successors = [apt.AddManifestSources]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
components = 'main'
|
||||||
|
if 'components' in info.manifest.system:
|
||||||
|
components = ' '.join(info.manifest.system['components'])
|
||||||
|
info.source_lists.add('main', 'deb http://http.debian.net/debian {system.release} ' + components)
|
||||||
|
info.source_lists.add('main', 'deb-src http://http.debian.net/debian {system.release} ' + components)
|
||||||
|
info.source_lists.add('backports', 'deb http://http.debian.net/debian {system.release}-backports ' + components)
|
||||||
|
info.source_lists.add('backports', 'deb-src http://http.debian.net/debian {system.release}-backports ' + components)
|
||||||
info.source_lists.add('goog', 'deb http://goog-repo.appspot.com/debian pigeon main')
|
info.source_lists.add('goog', 'deb http://goog-repo.appspot.com/debian pigeon main')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue