Skip to content

Commit

Permalink
Merge fb312f7 into 399e229
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 29, 2019
2 parents 399e229 + fb312f7 commit 357a7bc
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Apr 29 11:34:37 UTC 2019 - Ladislav Slezák <lslezak@suse.cz>

- Uninstall the "SUSE-Manager-Proxy" product when upgrading from
SLES12 + SUMA Proxy + SUMA Branch Server (bsc#1133215)
- 4.1.6

-------------------------------------------------------------------
Tue Apr 2 10:32:53 UTC 2019 - José Iván López González <jlopez@suse.com>

Expand Down
6 changes: 3 additions & 3 deletions package/autoyast2.spec
Expand Up @@ -22,7 +22,7 @@
%endif

Name: autoyast2
Version: 4.1.5
Version: 4.1.6
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down Expand Up @@ -60,8 +60,8 @@ BuildRequires: systemd

Requires: autoyast2-installation = %{version}
Requires: libxslt
# Yast::Popup.ErrorAnyQuestion fixed
Requires: yast2 >= 4.0.60
# Y2Packager::ProductUpgrade.remove_obsolete_upgrades
Requires: yast2 >= 4.1.69
Requires: yast2-core
Requires: yast2-country >= 3.1.13
Requires: yast2-ntp-client >= 4.0.1
Expand Down
6 changes: 6 additions & 0 deletions src/clients/inst_autosetup_upgrade.rb
Expand Up @@ -9,6 +9,8 @@
# $Id: inst_autosetup.ycp 61521 2010-03-29 09:10:07Z ug $
require "autoinstall/autosetup_helpers"

require "y2packager/product_upgrade"

module Yast
class InstAutosetupUpgradeClient < Client
include Yast::Logger
Expand Down Expand Up @@ -359,6 +361,10 @@ def main
Builtins.foreach(@remove_products) do |p|
Pkg.ResolvableRemove(p, :product)
end

# deselect the upgraded obsolete products (bsc#1133215)
Y2Packager::ProductUpgrade.remove_obsolete_upgrades

Builtins.foreach(@patterns) { |p| Pkg.ResolvableInstall(p, :pattern) }
Builtins.foreach(@packages) { |p| Pkg.ResolvableInstall(p, :package) }
Builtins.foreach(@products) { |p| Pkg.ResolvableInstall(p, :product) }
Expand Down

0 comments on commit 357a7bc

Please sign in to comment.