Hello community,

here is the log from the commit of package autoyast2 for openSUSE:Factory 
checked in at 2018-03-07 10:29:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/autoyast2 (Old)
 and      /work/SRC/openSUSE:Factory/.autoyast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "autoyast2"

Wed Mar  7 10:29:45 2018 rev:237 rq:583286 version:4.0.37

Changes:
--------
--- /work/SRC/openSUSE:Factory/autoyast2/autoyast2.changes      2018-03-04 
11:50:45.550131697 +0100
+++ /work/SRC/openSUSE:Factory/.autoyast2.new/autoyast2.changes 2018-03-07 
10:29:50.656939161 +0100
@@ -1,0 +2,8 @@
+Mon Mar  5 16:13:36 CET 2018 - sch...@suse.de
+
+- Fix in showing/accepting base licenses: Using
+  inst_product_license module instead of
+  ProductLicense.AskLicenseAgreement (bnc#1073324)
+- 4.0.37
+
+-------------------------------------------------------------------

Old:
----
  autoyast2-4.0.36.tar.bz2

New:
----
  autoyast2-4.0.37.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ autoyast2.spec ++++++
--- /var/tmp/diff_new_pack.8CBjjA/_old  2018-03-07 10:29:51.216918961 +0100
+++ /var/tmp/diff_new_pack.8CBjjA/_new  2018-03-07 10:29:51.220918817 +0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.0.36
+Version:        4.0.37
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ autoyast2-4.0.36.tar.bz2 -> autoyast2-4.0.37.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.36/package/autoyast2.changes 
new/autoyast2-4.0.37/package/autoyast2.changes
--- old/autoyast2-4.0.36/package/autoyast2.changes      2018-02-28 
15:06:00.000000000 +0100
+++ new/autoyast2-4.0.37/package/autoyast2.changes      2018-03-06 
11:57:37.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Mon Mar  5 16:13:36 CET 2018 - sch...@suse.de
+
+- Fix in showing/accepting base licenses: Using
+  inst_product_license module instead of
+  ProductLicense.AskLicenseAgreement (bnc#1073324)
+- 4.0.37
+
+-------------------------------------------------------------------
 Wed Feb 28 14:34:54 CET 2018 - aschn...@suse.com
 
 - adapted to new activate callbacks in libstorage-ng (see
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.36/package/autoyast2.spec 
new/autoyast2-4.0.37/package/autoyast2.spec
--- old/autoyast2-4.0.36/package/autoyast2.spec 2018-02-28 15:06:00.000000000 
+0100
+++ new/autoyast2-4.0.37/package/autoyast2.spec 2018-03-06 11:57:37.000000000 
+0100
@@ -22,7 +22,7 @@
 %endif
 
 Name:           autoyast2
-Version:        4.0.36
+Version:        4.0.37
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/autoyast2-4.0.36/src/clients/inst_autosetup.rb 
new/autoyast2-4.0.37/src/clients/inst_autosetup.rb
--- old/autoyast2-4.0.36/src/clients/inst_autosetup.rb  2018-02-28 
15:06:00.000000000 +0100
+++ new/autoyast2-4.0.37/src/clients/inst_autosetup.rb  2018-03-06 
11:57:37.000000000 +0100
@@ -39,7 +39,6 @@
       Yast.import "Keyboard"
       Yast.import "Call"
       Yast.import "ProductControl"
-      Yast.import "ProductLicense"
       Yast.import "Language"
       Yast.import "Console"
       Yast.import "ServicesManager"
@@ -439,19 +438,11 @@
       #
       Progress.NextStage
       if general_section["mode"] && general_section["mode"].fetch( 
"confirm_base_product_license", false )
-        Wizard.EnableAbortButton
-        result = ProductLicense.AskLicenseAgreement(nil,
-          "",
-          ProductLicense.license_patterns,
-          "abort",
-          # back button is disabled
-          false,
-          true,
-          true,
-          # unique id
-          "0"
-        )
-        return :abort if result == :abort
+        result = nil
+        while result != :next
+          result = WFM.CallFunction("inst_product_license", 
[{"enable_back"=>false}])
+          return :abort if result == :abort && 
Yast::Popup.ConfirmAbort(:painless)
+        end
       end
 
       Progress.Finish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/autoyast2-4.0.36/src/clients/inst_autosetup_upgrade.rb 
new/autoyast2-4.0.37/src/clients/inst_autosetup_upgrade.rb
--- old/autoyast2-4.0.36/src/clients/inst_autosetup_upgrade.rb  2018-02-28 
15:06:00.000000000 +0100
+++ new/autoyast2-4.0.37/src/clients/inst_autosetup_upgrade.rb  2018-03-06 
11:57:37.000000000 +0100
@@ -49,7 +49,8 @@
         _("Set up language"),
         _("Registration"),
         _("Configure Software selections"),
-        _("Configure Bootloader")
+        _("Configure Bootloader"),
+        _("Confirm License")
       ]
 
       @progress_descriptions = [
@@ -58,7 +59,8 @@
         _("Setting up language..."),
         _("Registering the system..."),
         _("Configuring Software selections..."),
-        _("Configuring Bootloader...")
+        _("Configuring Bootloader..."),
+        _("Confirming License...")
       ]
 
       Progress.New(
@@ -442,6 +444,18 @@
         false
       )
 
+      #
+      # Checking Base Product licenses
+      #
+      Progress.NextStage
+      if general_section["mode"] && general_section["mode"].fetch( 
"confirm_base_product_license", false )
+        result = nil
+        while result != :next
+          result = WFM.CallFunction("inst_product_license", 
[{"enable_back"=>false}])
+          return :abort if result == :abort && 
Yast::Popup.ConfirmAbort(:painless)
+        end
+      end
+
       Progress.Finish
 
       @ret = ProductControl.RunFrom(


Reply via email to