mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 07:26:29 +00:00

The `AddBackports` task is needed by many different plugins, so is better if it is available as a common task. This closes #96.
8 lines
269 B
Python
8 lines
269 B
Python
|
|
|
|
def resolve_tasks(taskset, manifest):
|
|
from bootstrapvz.common.tasks import apt
|
|
from bootstrapvz.common.tools import get_codename
|
|
if get_codename(manifest.system['release']) == 'wheezy':
|
|
taskset.add(apt.AddBackports)
|
|
taskset.update([tasks.AddONEContextPackage])
|