Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-installation for 
openSUSE:Factory checked in at 2023-01-26 13:57:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-installation (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-installation.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-installation"

Thu Jan 26 13:57:11 2023 rev:516 rq:1061026 version:4.5.15

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-installation/yast2-installation.changes    
2023-01-14 00:02:19.881401119 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-installation.new.32243/yast2-installation.changes
 2023-01-26 14:12:17.628856940 +0100
@@ -1,0 +2,13 @@
+Wed Jan 25 19:56:12 UTC 2023 - Knut Anderssen <kanders...@suse.com>
+
+- Connect only NBFT when linuxrc sets UseNBFT (jsc#PED-967)
+- 4.5.15
+
+-------------------------------------------------------------------
+Wed Jan 25 15:25:50 UTC 2023 - Knut Anderssen <kanders...@suse.com>
+
+- Discover and connect to all NVMe-over-Fabrics subsystems in case
+  that linuxrc sets UseNBFT (jsc#PED-967).
+- 4.5.14
+
+-------------------------------------------------------------------

Old:
----
  yast2-installation-4.5.13.tar.bz2

New:
----
  yast2-installation-4.5.15.tar.bz2

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

Other differences:
------------------
++++++ yast2-installation.spec ++++++
--- /var/tmp/diff_new_pack.LW8nbl/_old  2023-01-26 14:12:18.224860146 +0100
+++ /var/tmp/diff_new_pack.LW8nbl/_new  2023-01-26 14:12:18.228860167 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-installation
-Version:        4.5.13
+Version:        4.5.15
 Release:        0
 Summary:        YaST2 - Installation Parts
 License:        GPL-2.0-only

++++++ yast2-installation-4.5.13.tar.bz2 -> yast2-installation-4.5.15.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.5.13/package/yast2-installation.changes 
new/yast2-installation-4.5.15/package/yast2-installation.changes
--- old/yast2-installation-4.5.13/package/yast2-installation.changes    
2023-01-12 09:34:19.000000000 +0100
+++ new/yast2-installation-4.5.15/package/yast2-installation.changes    
2023-01-25 21:24:33.000000000 +0100
@@ -1,4 +1,17 @@
 -------------------------------------------------------------------
+Wed Jan 25 19:56:12 UTC 2023 - Knut Anderssen <kanders...@suse.com>
+
+- Connect only NBFT when linuxrc sets UseNBFT (jsc#PED-967)
+- 4.5.15
+
+-------------------------------------------------------------------
+Wed Jan 25 15:25:50 UTC 2023 - Knut Anderssen <kanders...@suse.com>
+
+- Discover and connect to all NVMe-over-Fabrics subsystems in case
+  that linuxrc sets UseNBFT (jsc#PED-967).
+- 4.5.14
+
+-------------------------------------------------------------------
 Thu Jan 12 07:42:55 UTC 2023 - Ladislav Slezák <lsle...@suse.com>
 
 - yupdate - added suport for patching containers (bsc#1207069)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.5.13/package/yast2-installation.spec 
new/yast2-installation-4.5.15/package/yast2-installation.spec
--- old/yast2-installation-4.5.13/package/yast2-installation.spec       
2023-01-12 09:34:19.000000000 +0100
+++ new/yast2-installation-4.5.15/package/yast2-installation.spec       
2023-01-25 21:24:33.000000000 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:           yast2-installation
-Version:        4.5.13
+Version:        4.5.15
 Release:        0
 Summary:        YaST2 - Installation Parts
 License:        GPL-2.0-only
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-installation-4.5.13/src/include/installation/inst_inc_all.rb 
new/yast2-installation-4.5.15/src/include/installation/inst_inc_all.rb
--- old/yast2-installation-4.5.13/src/include/installation/inst_inc_all.rb      
2023-01-12 09:34:19.000000000 +0100
+++ new/yast2-installation-4.5.15/src/include/installation/inst_inc_all.rb      
2023-01-25 21:24:33.000000000 +0100
@@ -235,6 +235,8 @@
     end
 
     def SetDiskActivationModule
+      # Connect all the discovered NVMe-over-Fabrics subsystems (jse#PED-318)
+      connect_nbft if Linuxrc.InstallInf("UseNBFT") == "1"
       # update the workflow according to current situation
       # disable disks activation if not needed
       iscsi = Linuxrc.InstallInf("WithiSCSI") == "1"
@@ -248,5 +250,14 @@
 
       nil
     end
+
+    # Convenience method for discovering and connecting all NVMe over Fabrics 
subsystems
+    def connect_nbft
+      require "yast2/execute"
+
+      Yast::Execute.locally!("nvme", "connect-nbft")
+    rescue Cheetah::ExecutionFailed
+      Builtins.y2error("Error connecting NBFT")
+    end
   end
 end

Reply via email to