Hello community,

here is the log from the commit of package yast2-bootloader for 
openSUSE:Factory checked in at 2016-11-15 17:53:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-bootloader (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-bootloader.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-bootloader"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-bootloader/yast2-bootloader.changes        
2016-11-03 12:56:58.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-bootloader.new/yast2-bootloader.changes   
2016-11-15 17:53:21.000000000 +0100
@@ -1,0 +2,8 @@
+Mon Nov 14 14:21:16 UTC 2016 - [email protected]
+
+- Revert the package deselection check (from 3.2.3), there is
+  a new generic solution in yast2-packager-3.2.6 for all YaST
+  modules (bsc#885496)
+- 3.2.7
+
+-------------------------------------------------------------------

Old:
----
  yast2-bootloader-3.2.6.tar.bz2

New:
----
  yast2-bootloader-3.2.7.tar.bz2

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

Other differences:
------------------
++++++ yast2-bootloader.spec ++++++
--- /var/tmp/diff_new_pack.rhZaVB/_old  2016-11-15 17:53:22.000000000 +0100
+++ /var/tmp/diff_new_pack.rhZaVB/_new  2016-11-15 17:53:22.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-bootloader
-Version:        3.2.6
+Version:        3.2.7
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-bootloader-3.2.6.tar.bz2 -> yast2-bootloader-3.2.7.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-bootloader-3.2.6/package/yast2-bootloader.changes 
new/yast2-bootloader-3.2.7/package/yast2-bootloader.changes
--- old/yast2-bootloader-3.2.6/package/yast2-bootloader.changes 2016-11-03 
08:41:31.000000000 +0100
+++ new/yast2-bootloader-3.2.7/package/yast2-bootloader.changes 2016-11-14 
16:12:49.000000000 +0100
@@ -1,4 +1,12 @@
 -------------------------------------------------------------------
+Mon Nov 14 14:21:16 UTC 2016 - [email protected]
+
+- Revert the package deselection check (from 3.2.3), there is
+  a new generic solution in yast2-packager-3.2.6 for all YaST
+  modules (bsc#885496)
+- 3.2.7
+
+-------------------------------------------------------------------
 Wed Nov  2 14:14:21 UTC 2016 - [email protected]
 
 - set pmbr flag only on GPT disks (bsc#1008092)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-bootloader-3.2.6/package/yast2-bootloader.spec 
new/yast2-bootloader-3.2.7/package/yast2-bootloader.spec
--- old/yast2-bootloader-3.2.6/package/yast2-bootloader.spec    2016-11-03 
08:41:31.000000000 +0100
+++ new/yast2-bootloader-3.2.7/package/yast2-bootloader.spec    2016-11-14 
16:12:49.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-bootloader
-Version:        3.2.6
+Version:        3.2.7
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-bootloader-3.2.6/src/lib/bootloader/proposal_client.rb 
new/yast2-bootloader-3.2.7/src/lib/bootloader/proposal_client.rb
--- old/yast2-bootloader-3.2.6/src/lib/bootloader/proposal_client.rb    
2016-11-03 08:41:31.000000000 +0100
+++ new/yast2-bootloader-3.2.7/src/lib/bootloader/proposal_client.rb    
2016-11-14 16:12:50.000000000 +0100
@@ -21,7 +21,6 @@
       Yast.import "BootSupportCheck"
       Yast.import "Product"
       Yast.import "PackagesProposal"
-      Yast.import "Pkg"
     end
 
     PROPOSAL_LINKS = [
@@ -195,28 +194,7 @@
       if !Yast::BootSupportCheck.SystemSupported
         ret["warning_level"] = :error
         ret["warning"] = Yast::BootSupportCheck.StringProblems
-        return
       end
-
-      pkgs = current_bl.packages.map { |p| [p, 
Yast::Pkg.ResolvableProperties(p, :package, "")] }
-      log.info "packages info #{pkgs.inspect}"
-      pkgs.select! { |_n, p| unselected?(p) }
-      return if pkgs.empty?
-
-      ret["warning_level"] = :error
-      ret["warning"] = n_("A package required for booting is deselected (%s). 
" \
-        "Please select it for installation again.", "Packages required for 
booting are " \
-        "deselected (%s). Please select them for installation again.",
-        pkgs.size) % pkgs.map(&:first).join(", ")
-    end
-
-    def unselected?(packages)
-      # if all transactions are done by solver, then it is selected by it
-      unselected = packages.any? { |p| p["transact_by"] == :user && 
p["status"] == :available }
-      not_selected = packages.none? { |p| p["status"] == :selected }
-      return true if unselected && not_selected
-
-      false
     end
 
     def single_click_action(option, value)


Reply via email to