Remove some unnecessary dependencies across phases

This commit is contained in:
Anders Ingemann 2015-04-09 18:18:49 +02:00
parent 97ad69df5e
commit 9ad79cbf60
3 changed files with 0 additions and 8 deletions

View file

@ -80,7 +80,6 @@ class Bootstrap(Task):
class IncludePackagesInBootstrap(Task): class IncludePackagesInBootstrap(Task):
description = 'Add packages in the bootstrap phase' description = 'Add packages in the bootstrap phase'
phase = phases.preparation phase = phases.preparation
successors = [Bootstrap]
@classmethod @classmethod
def run(cls, info): def run(cls, info):
@ -92,7 +91,6 @@ class IncludePackagesInBootstrap(Task):
class ExcludePackagesInBootstrap(Task): class ExcludePackagesInBootstrap(Task):
description = 'Remove packages from bootstrap phase' description = 'Remove packages from bootstrap phase'
phase = phases.preparation phase = phases.preparation
successors = [Bootstrap]
@classmethod @classmethod
def run(cls, info): def run(cls, info):

View file

@ -1,6 +1,5 @@
from bootstrapvz.base import Task from bootstrapvz.base import Task
from bootstrapvz.common import phases from bootstrapvz.common import phases
from bootstrapvz.common.tasks import workspace
from bootstrapvz.common.tools import log_check_call from bootstrapvz.common.tools import log_check_call
import os import os
@ -66,7 +65,6 @@ class InstallCloudSDK(Task):
class RemoveCloudSDKTarball(Task): class RemoveCloudSDKTarball(Task):
description = 'Remove tarball for Cloud SDK' description = 'Remove tarball for Cloud SDK'
phase = phases.system_cleaning phase = phases.system_cleaning
successors = [workspace.DeleteWorkspace]
@classmethod @classmethod
def run(cls, info): def run(cls, info):

View file

@ -1,7 +1,5 @@
from bootstrapvz.base import Task from bootstrapvz.base import Task
from bootstrapvz.common import phases from bootstrapvz.common import phases
from bootstrapvz.common.tasks import network
from bootstrapvz.common.tasks import packages
from bootstrapvz.common.tasks import apt from bootstrapvz.common.tasks import apt
@ -9,7 +7,6 @@ class AddPipPackage(Task):
description = 'Adding `pip\' and Co. to the image packages' description = 'Adding `pip\' and Co. to the image packages'
phase = phases.preparation phase = phases.preparation
predecessors = [apt.AddDefaultSources] predecessors = [apt.AddDefaultSources]
successors = [packages.InstallPackages]
@classmethod @classmethod
def run(cls, info): def run(cls, info):
@ -20,7 +17,6 @@ class AddPipPackage(Task):
class PipInstallCommand(Task): class PipInstallCommand(Task):
description = 'Install python packages from pypi with pip' description = 'Install python packages from pypi with pip'
phase = phases.system_modification phase = phases.system_modification
successors = [network.RemoveDNSInfo]
@classmethod @classmethod
def run(cls, info): def run(cls, info):