From f1a53f6b818e8e581d17d54e129301c704e8b734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ladislav=20Slez=C3=A1k?= Date: Mon, 22 Aug 2016 14:11:36 +0200 Subject: [PATCH] Added "apply" progress step --- src/lib/installation/clients/inst_update_installer.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/installation/clients/inst_update_installer.rb b/src/lib/installation/clients/inst_update_installer.rb index f14c09a0b..432f05e7f 100644 --- a/src/lib/installation/clients/inst_update_installer.rb +++ b/src/lib/installation/clients/inst_update_installer.rb @@ -101,6 +101,7 @@ def update_installer if updated log.info("Applying installer updates") + Yast::Progress.NextStage updates_manager.apply_all end updated @@ -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 = @@ -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 @@ -541,6 +545,7 @@ def initialize_progress # TRANSLATORS: progress label _("Add Update Repository"), _("Download the Packages"), + _("Apply the Packages"), _("Restart") ], # steps