mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 18:00:35 +00:00
Fix task ordering to better support customizations
This ensures that preferences are written before apt update and also ensures that in GCE the backports are added to the sources before the provider-specific SetPackageRepositories happens. Change-Id: I3c85f922c49c2a6fbd3c0f2bad1072eff0d098c8
This commit is contained in:
parent
89a74a33c8
commit
96a1683c26
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ class DisableDaemonAutostart(Task):
|
|||
class AptUpdate(Task):
|
||||
description = 'Updating the package cache'
|
||||
phase = phases.package_installation
|
||||
predecessors = [locale.GenerateLocale, WriteSources]
|
||||
predecessors = [locale.GenerateLocale, WriteSources, WritePreferences]
|
||||
|
||||
@classmethod
|
||||
def run(cls, info):
|
||||
|
|
|
@ -9,7 +9,7 @@ import os
|
|||
class SetPackageRepositories(Task):
|
||||
description = 'Adding apt sources'
|
||||
phase = phases.preparation
|
||||
predecessors = [apt.AddManifestSources]
|
||||
predecessors = [apt.AddManifestSources, apt.AddBackports]
|
||||
|
||||
@classmethod
|
||||
def run(cls, info):
|
||||
|
|
Loading…
Add table
Reference in a new issue