Skip to content

Commit

Permalink
Added "apply" progress step
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Aug 22, 2016
1 parent df4eaab commit f1a53f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/installation/clients/inst_update_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def update_installer

if updated
log.info("Applying installer updates")
Yast::Progress.NextStage
updates_manager.apply_all
end
updated
Expand Down Expand Up @@ -221,6 +222,7 @@ def registration_url
return :scc if Mode.auto && registration_profile["slp_discovery"] != true

services = ::Registration::UrlHelpers.slp_discovery
log.info "SLP discovery result: #{services.inspect}"
return :scc if services.empty?

service =
Expand All @@ -230,6 +232,8 @@ def registration_url
registration_service_from_user(services)
end

log.info "Selected SLP service: #{service.inspect}"

return service unless service.respond_to?(:slp_url)
URI(::Registration::UrlHelpers.service_url(service.slp_url))
end
Expand Down Expand Up @@ -541,6 +545,7 @@ def initialize_progress
# TRANSLATORS: progress label
_("Add Update Repository"),
_("Download the Packages"),
_("Apply the Packages"),
_("Restart")
],
# steps
Expand Down

0 comments on commit f1a53f6

Please sign in to comment.