Skip to content

Commit

Permalink
eula acceptence moved to add-on procuct client
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jul 27, 2017
1 parent 865a974 commit bb8e9d0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
10 changes: 10 additions & 0 deletions package/yast2-packager.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Jul 27 11:12:01 CEST 2017 - schubi@suse.de

- AutoYaST: Configuring EULA acception of add-on products has
not worked if the add-on product is on the medium of the base
product too. (bnc#1032523).
Now the add-on product has to be defined in the AutoYaST
configuration file explicit.
- 3.1.123

-------------------------------------------------------------------
Tue Mar 7 09:37:15 CET 2017 - schubi@suse.de

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-packager.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-packager
Version: 3.1.122
Version: 3.1.123
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
9 changes: 8 additions & 1 deletion src/modules/Packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class PackagesClass < Module
def main
Yast.import "UI"
Yast.import "Pkg"
Yast.import "Mode"

textdomain "packager"

Expand Down Expand Up @@ -820,7 +821,13 @@ def InitializeAddOnProducts
"Found list of add-on products to preselect: %1",
@add_on_products_list
)
AddOnProduct.AddPreselectedAddOnProducts(@add_on_products_list)
if Mode.auto
Builtins.y2warning( "This is an AutoYaST installation. "\
"Only Add-on products will be added which have been defined "\
"in the add-on section of the AutoYaST configuration file." )
else
AddOnProduct.AddPreselectedAddOnProducts(@add_on_products_list)
end
@add_on_products_list = [] # do not select them any more
end

Expand Down

0 comments on commit bb8e9d0

Please sign in to comment.