Skip to content

Commit

Permalink
Merge pull request #10 from yast/fix_bootloader
Browse files Browse the repository at this point in the history
properly set SCR so it fix installing bootloader
  • Loading branch information
jreidinger authored Jan 23, 2022
2 parents 53819e6 + 3b14c46 commit b108455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion yastd/lib/yast2/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def install
@software.install(progr)
end
progress.bootloader_installation do |_|
Yast::WFM.SCROpen("chroot=#{Yast::Installation.destdir}:scr", false)
handle = Yast::WFM.SCROpen("chroot=#{Yast::Installation.destdir}:scr", false)
Yast::WFM.SCRSetDefault(handle)
::Bootloader::FinishClient.new.write
end
change_status(InstallerStatus::IDLE)
Expand Down

0 comments on commit b108455

Please sign in to comment.