Skip to content

Commit

Permalink
initialize bootloader during update if proposed from scratch (bnc#899…
Browse files Browse the repository at this point in the history
…743)
  • Loading branch information
jsrain committed Nov 26, 2014
1 parent f49acb2 commit 84aa509
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package/yast2-bootloader.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 26 13:11:58 UTC 2014 - jsrain@suse.cz

- initialize bootloader during update if proposed from scratch
(bnc#899743)

-------------------------------------------------------------------
Fri Nov 21 11:56:38 UTC 2014 - jsrain@suse.cz

Expand Down
4 changes: 3 additions & 1 deletion src/clients/inst_bootloader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ def main
return :auto # don't execute this once more
end

if Mode.installation
# if BL config is created from scratch, prepare config files
# in order not to touch old files (bnc#899743)
if Mode.installation || ! BootCommon.was_read
Bootloader.blSave(false, false, false)
@files = BootCommon.GetFilesContents

Expand Down

0 comments on commit 84aa509

Please sign in to comment.