From 35d6140cb1d2c8fcd6cf1f5c922b7e18aa25b027 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 18 Jan 2014 21:38:39 +0100 Subject: [PATCH] fstab must exist before installing bootloader --- common/tasks/boot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/tasks/boot.py b/common/tasks/boot.py index ce7738d..d04043f 100644 --- a/common/tasks/boot.py +++ b/common/tasks/boot.py @@ -1,6 +1,7 @@ from base import Task from common import phases from common.tasks import apt +from common.tasks import filesystem import os.path @@ -45,6 +46,7 @@ class AddGrubPackage(Task): class InstallGrub(Task): description = 'Installing grub' phase = phases.system_modification + predecessors = [filesystem.FStab] @classmethod def run(cls, info): @@ -118,6 +120,7 @@ class AddExtlinuxPackage(Task): class InstallExtLinux(Task): description = 'Installing extlinux' phase = phases.system_modification + predecessors = [filesystem.FStab] @classmethod def run(cls, info):