Hello community,

here is the log from the commit of package yast2-storage for openSUSE:Factory 
checked in at 2015-11-23 07:28:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-storage (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-storage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-storage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-storage/yast2-storage.changes      
2015-11-04 15:30:09.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-storage.new/yast2-storage.changes 
2015-11-23 07:28:59.000000000 +0100
@@ -0,0 +1,6 @@
+Wed Nov 11 14:21:32 CET 2015 - g...@suse.de
+
+- Add _netdev flag for iSCSI and FCoE backed fstab entries
+  (bsc#949683, patch provided by david.b...@microfocus.com)
+- 3.1.72
+

Old:
----
  yast2-storage-3.1.71.tar.bz2

New:
----
  yast2-storage-3.1.72.tar.bz2

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

Other differences:
------------------
++++++ yast2-storage.spec ++++++
--- /var/tmp/diff_new_pack.DMlQl0/_old  2015-11-23 07:29:00.000000000 +0100
+++ /var/tmp/diff_new_pack.DMlQl0/_new  2015-11-23 07:29:00.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.71
+Version:        3.1.72
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-storage-3.1.71.tar.bz2 -> yast2-storage-3.1.72.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.71/package/yast2-storage.changes 
new/yast2-storage-3.1.72/package/yast2-storage.changes
--- old/yast2-storage-3.1.71/package/yast2-storage.changes      2015-10-29 
14:33:27.000000000 +0100
+++ new/yast2-storage-3.1.72/package/yast2-storage.changes      2015-11-17 
10:53:16.000000000 +0100
@@ -1,3 +1,9 @@
+Wed Nov 11 14:21:32 CET 2015 - g...@suse.de
+
+- Add _netdev flag for iSCSI and FCoE backed fstab entries
+  (bsc#949683, patch provided by david.b...@microfocus.com)
+- 3.1.72
+
 -------------------------------------------------------------------
 Thu Oct 29 11:52:45 CET 2015 - shundham...@suse.de
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.71/package/yast2-storage.spec 
new/yast2-storage-3.1.72/package/yast2-storage.spec
--- old/yast2-storage-3.1.71/package/yast2-storage.spec 2015-10-29 
14:33:27.000000000 +0100
+++ new/yast2-storage-3.1.72/package/yast2-storage.spec 2015-11-17 
10:53:16.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-storage
-Version:        3.1.71
+Version:        3.1.72
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-storage-3.1.71/src/modules/FileSystems.rb 
new/yast2-storage-3.1.72/src/modules/FileSystems.rb
--- old/yast2-storage-3.1.71/src/modules/FileSystems.rb 2015-10-29 
14:33:27.000000000 +0100
+++ new/yast2-storage-3.1.72/src/modules/FileSystems.rb 2015-11-17 
10:53:17.000000000 +0100
@@ -1780,6 +1780,7 @@
 
       if Ops.get_string(part, "mount", "") != "/"
         need_nofail = false
+        need_netdev = false
         assertInit
 
         devs = Convert.convert(
@@ -1796,6 +1797,7 @@
           # USB since those might actually not be present during boot
           # iSCSI since the boot scripts need it
           hotplug_transports = [::Storage::USB, ::Storage::ISCSI]
+          network_transports = [::Storage::ISCSI, ::Storage::FCOE]
 
           usedby_devices.each do |usedby_device|
             dp = ::Storage::ContVolInfo.new()
@@ -1803,9 +1805,13 @@
                 dp.ctype == ::Storage::DISK
               disk = dp.cdevice
               infos = ::Storage::DiskInfo.new()
-              if @sint.getDiskInfo(disk, infos)==0 &&
-                  Builtins.contains(hotplug_transports, infos.transport)
-                need_nofail = true
+              if @sint.getDiskInfo(disk, infos)==0
+                if Builtins.contains(hotplug_transports, infos.transport)
+                  need_nofail = true
+               end
+                if Builtins.contains(network_transports, infos.transport)
+                   need_netdev = true
+               end
               end
             end
           end
@@ -1816,6 +1822,12 @@
             end
             fst_default = Ops.add(fst_default, "nofail")
           end
+          if need_netdev
+            if !Builtins.isempty(fst_default)
+              fst_default = Ops.add(fst_default, ",")
+            end
+            fst_default = Ops.add(fst_default, "_netdev")
+          end
         end
       end
 


Reply via email to