Skip to content

Commit

Permalink
Merge f25c54b into 1264f78
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Jan 13, 2022
2 parents 1264f78 + f25c54b commit c734dce
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 8 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jan 13 11:58:37 UTC 2022 - Imobach Gonzalez Sosa <igonzalezsosa@suse.com>

- Properly merge the autoupgrade workflow when using the online
medium (bsc#1192437, bsc#1194440).
- 4.3.95

-------------------------------------------------------------------
Thu Nov 25 12:56:23 UTC 2021 - Knut Anderssen <kanderssen@suse.com>

Expand Down
2 changes: 1 addition & 1 deletion package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.3.94
Version: 4.3.95
Release: 0
Summary: YaST2 - Automated Installation
License: GPL-2.0-only
Expand Down
3 changes: 2 additions & 1 deletion src/lib/autoinstall/clients/inst_autoinit.rb
Expand Up @@ -143,6 +143,8 @@ def run

return :abort if Yast::UI.PollInput == :abort && Yast::Popup.ConfirmAbort(:painless)

Yast::WorkflowManager.SetBaseWorkflow(false)

:next
end

Expand Down Expand Up @@ -408,7 +410,6 @@ def offline_product
Yast::Pkg.ResolvableInstall(product.details.product, :product, "")
# initialize addons and the workflow manager
Yast::AddOnProduct.SetBaseProductURL(base_url)
Yast::WorkflowManager.SetBaseWorkflow(false)
Yast::AutoinstFunctions.reset_product
# report error only for installation or if autoupgrade contain addon with relative url.
# This way autoupgrade for Full medium on registered system
Expand Down
12 changes: 6 additions & 6 deletions src/lib/autoinstall/clients/inst_autosetup_upgrade.rb
Expand Up @@ -57,12 +57,6 @@ def main
return :abort if UI.PollInput == :abort && Popup.ConfirmAbort(:painless)

Progress.NextStage
#
# Set workflow variables
# Ensure that we clean product cache to avoid product from control (bsc#1156058)
AutoinstFunctions.reset_product
# Merging selected product (bsc#1192437)
AutoinstSoftware.merge_product(AutoinstFunctions.selected_product)

# configure general settings
general_section = Profile.current["general"] || {}
Expand Down Expand Up @@ -172,6 +166,12 @@ def main
Progress.NextStage
return :abort unless suse_register

# Set workflow variables
# Ensure that we clean product cache to avoid product from control (bsc#1156058)
AutoinstFunctions.reset_product
# Merging selected product (bsc#1192437)
AutoinstSoftware.merge_product(AutoinstFunctions.selected_product)

# Bootloader
# FIXME: De-duplicate with inst_autosetup
# Bootloader import / proposal is necessary to match changes done for manual
Expand Down

0 comments on commit c734dce

Please sign in to comment.