Skip to content

Commit

Permalink
workaround initrd recreation if some packages forgot during upgrade (…
Browse files Browse the repository at this point in the history
…bnc#889616)
  • Loading branch information
jreidinger committed Aug 7, 2014
1 parent 5c09433 commit 50b1ece
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/clients/bootloader_finish.rb
Expand Up @@ -225,6 +225,13 @@ def main
Builtins.y2milestone("Reactivate branding with #{branding_activator} and result #{res}")
end
end
# workaround for packages that forgot to update initrd(bnc#889616)
# do not use Initrd module as it can also change configuration, which we do not want
if Mode.update
res = SCR.Execute(path(".target.bash_output"), "/sbin/mkinitrd")
Builtins.y2milestone("Regerate initrd with result #{res}")
end


Builtins.y2debug("ret=%1", @ret)
Builtins.y2milestone("bootloader_finish finished")
Expand Down

0 comments on commit 50b1ece

Please sign in to comment.