From 46d4424c658721ca262017afb1aff97da710a9d1 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 4 Jun 2016 16:49:14 +0200 Subject: [PATCH] Fix grub task order --- bootstrapvz/common/tasks/grub.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bootstrapvz/common/tasks/grub.py b/bootstrapvz/common/tasks/grub.py index b666e2c..91fe34a 100644 --- a/bootstrapvz/common/tasks/grub.py +++ b/bootstrapvz/common/tasks/grub.py @@ -19,7 +19,6 @@ class AddGrubPackage(Task): class ConfigureGrub(Task): description = 'Configuring grub' phase = phases.system_modification - predecessors = [filesystem.FStab] @classmethod def run(cls, info): @@ -37,7 +36,7 @@ class ConfigureGrub(Task): class InstallGrub_1_99(Task): description = 'Installing grub 1.99' phase = phases.system_modification - predecessors = [filesystem.FStab] + predecessors = [filesystem.FStab, ConfigureGrub] @classmethod def run(cls, info): @@ -79,7 +78,7 @@ class InstallGrub_1_99(Task): class InstallGrub_2(Task): description = 'Installing grub 2' phase = phases.system_modification - predecessors = [filesystem.FStab] + predecessors = [filesystem.FStab, ConfigureGrub] # Make sure the kernel image is updated after we have installed the bootloader successors = [kernel.UpdateInitramfs]