fstab must exist before installing bootloader

This commit is contained in:
Anders Ingemann 2014-01-18 21:38:39 +01:00
parent a433f1c299
commit 35d6140cb1

View file

@ -1,6 +1,7 @@
from base import Task from base import Task
from common import phases from common import phases
from common.tasks import apt from common.tasks import apt
from common.tasks import filesystem
import os.path import os.path
@ -45,6 +46,7 @@ class AddGrubPackage(Task):
class InstallGrub(Task): class InstallGrub(Task):
description = 'Installing grub' description = 'Installing grub'
phase = phases.system_modification phase = phases.system_modification
predecessors = [filesystem.FStab]
@classmethod @classmethod
def run(cls, info): def run(cls, info):
@ -118,6 +120,7 @@ class AddExtlinuxPackage(Task):
class InstallExtLinux(Task): class InstallExtLinux(Task):
description = 'Installing extlinux' description = 'Installing extlinux'
phase = phases.system_modification phase = phases.system_modification
predecessors = [filesystem.FStab]
@classmethod @classmethod
def run(cls, info): def run(cls, info):