mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
Fix grub task order
This commit is contained in:
parent
f62c8ade99
commit
46d4424c65
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,6 @@ class AddGrubPackage(Task):
|
||||||
class ConfigureGrub(Task):
|
class ConfigureGrub(Task):
|
||||||
description = 'Configuring grub'
|
description = 'Configuring grub'
|
||||||
phase = phases.system_modification
|
phase = phases.system_modification
|
||||||
predecessors = [filesystem.FStab]
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
@ -37,7 +36,7 @@ class ConfigureGrub(Task):
|
||||||
class InstallGrub_1_99(Task):
|
class InstallGrub_1_99(Task):
|
||||||
description = 'Installing grub 1.99'
|
description = 'Installing grub 1.99'
|
||||||
phase = phases.system_modification
|
phase = phases.system_modification
|
||||||
predecessors = [filesystem.FStab]
|
predecessors = [filesystem.FStab, ConfigureGrub]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def run(cls, info):
|
def run(cls, info):
|
||||||
|
@ -79,7 +78,7 @@ class InstallGrub_1_99(Task):
|
||||||
class InstallGrub_2(Task):
|
class InstallGrub_2(Task):
|
||||||
description = 'Installing grub 2'
|
description = 'Installing grub 2'
|
||||||
phase = phases.system_modification
|
phase = phases.system_modification
|
||||||
predecessors = [filesystem.FStab]
|
predecessors = [filesystem.FStab, ConfigureGrub]
|
||||||
# Make sure the kernel image is updated after we have installed the bootloader
|
# Make sure the kernel image is updated after we have installed the bootloader
|
||||||
successors = [kernel.UpdateInitramfs]
|
successors = [kernel.UpdateInitramfs]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue