Hello community,

here is the log from the commit of package yast2-network for openSUSE:Factory 
checked in at 2019-04-08 10:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-network (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-network.new.3908 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-network"

Mon Apr  8 10:34:26 2019 rev:406 rq:691722 version:4.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-network/yast2-network.changes      
2019-03-25 09:47:40.248010431 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-network.new.3908/yast2-network.changes    
2019-04-08 10:34:32.099222419 +0200
@@ -1,0 +2,21 @@
+Fri Apr  5 07:53:29 UTC 2019 - jreidinger <jreidin...@suse.com>
+
+- publish find dhcp interfaces to component system, so yapi can be
+  dropped from yast2-samba-client (fate#323734)
+- 4.2.0
+
+-------------------------------------------------------------------
+Thu Apr  4 16:46:27 UTC 2019 - knut.anders...@suse.com
+
+- bnc#1129012
+  - AY: Use the bus_id of the udev parent device when using virtio
+    netcards and matching the existent rules with the defined in
+    in the profile.
+- 4.1.45
+
+-------------------------------------------------------------------
+Thu Apr  4 16:44:58 CET 2019 - sch...@suse.de
+
+- Showing correct start mode for nfsroot device (bsc#1105692).
+
+-------------------------------------------------------------------

Old:
----
  yast2-network-4.1.44.tar.bz2

New:
----
  yast2-network-4.2.0.tar.bz2

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

Other differences:
------------------
++++++ yast2-network.spec ++++++
--- /var/tmp/diff_new_pack.stmseN/_old  2019-04-08 10:34:33.835222743 +0200
+++ /var/tmp/diff_new_pack.stmseN/_new  2019-04-08 10:34:33.863222748 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.1.44
+Version:        4.2.0
 Release:        0
 BuildArch:      noarch
 

++++++ yast2-network-4.1.44.tar.bz2 -> yast2-network-4.2.0.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.1.44/Dockerfile 
new/yast2-network-4.2.0/Dockerfile
--- old/yast2-network-4.1.44/Dockerfile 2019-03-21 14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/Dockerfile  2019-04-05 10:05:31.000000000 +0200
@@ -1,3 +1,3 @@
-FROM yastdevel/ruby
+FROM registry.opensuse.org/yast/head/containers/yast-ruby:latest
 COPY . /usr/src/app
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.1.44/package/yast2-network.changes 
new/yast2-network-4.2.0/package/yast2-network.changes
--- old/yast2-network-4.1.44/package/yast2-network.changes      2019-03-21 
14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/package/yast2-network.changes       2019-04-05 
10:05:31.000000000 +0200
@@ -1,4 +1,25 @@
 -------------------------------------------------------------------
+Fri Apr  5 07:53:29 UTC 2019 - jreidinger <jreidin...@suse.com>
+
+- publish find dhcp interfaces to component system, so yapi can be
+  dropped from yast2-samba-client (fate#323734)
+- 4.2.0
+
+-------------------------------------------------------------------
+Thu Apr  4 16:46:27 UTC 2019 - knut.anders...@suse.com
+
+- bnc#1129012
+  - AY: Use the bus_id of the udev parent device when using virtio
+    netcards and matching the existent rules with the defined in
+    in the profile.
+- 4.1.45
+
+-------------------------------------------------------------------
+Thu Apr  4 16:44:58 CET 2019 - sch...@suse.de
+
+- Showing correct start mode for nfsroot device (bsc#1105692).
+
+-------------------------------------------------------------------
 Thu Mar 21 10:09:32 UTC 2019 - knut.anders...@suse.com
 
 - bnc#1094934
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.1.44/package/yast2-network.spec 
new/yast2-network-4.2.0/package/yast2-network.spec
--- old/yast2-network-4.1.44/package/yast2-network.spec 2019-03-21 
14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/package/yast2-network.spec  2019-04-05 
10:05:31.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-network
-Version:        4.1.44
+Version:        4.2.0
 Release:        0
 BuildArch:      noarch
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.1.44/src/include/network/routines.rb 
new/yast2-network-4.2.0/src/include/network/routines.rb
--- old/yast2-network-4.1.44/src/include/network/routines.rb    2019-03-21 
14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/src/include/network/routines.rb     2019-04-05 
10:05:31.000000000 +0200
@@ -628,6 +628,9 @@
 
           one["bus"] = bus
           one["busid"] = card["sysfs_bus_id"] || ""
+          if one["busid"].start_with?("virtio")
+            one["parent_busid"] = one["sysfs_id"].split("/")[-2]
+          end
           one["mac"] = Ops.get_string(resource, ["hwaddr", 0, "addr"], "")
           # is the cable plugged in? nil = don't know
           one["link"] = Ops.get(resource, ["link", 0, "state"])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-network-4.1.44/src/lib/network/network_autoyast.rb 
new/yast2-network-4.2.0/src/lib/network/network_autoyast.rb
--- old/yast2-network-4.1.44/src/lib/network/network_autoyast.rb        
2019-03-21 14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/src/lib/network/network_autoyast.rb 2019-04-05 
10:05:31.000000000 +0200
@@ -335,8 +335,13 @@
 
         # find item which matches to the given rule definition
         item_id, matching_item = LanItems.Items.find do |_, i|
-          i["hwinfo"] &&
-            (i["hwinfo"]["busid"].downcase == key || 
i["hwinfo"]["mac"].downcase == key)
+          next unless i["hwinfo"]
+          busid = i["hwinfo"]["busid"]
+          # Match also parent busid if exist (bsc#1129012)
+          parent_busid = i["hwinfo"]["parent_busid"] || busid
+          mac = i["hwinfo"]["mac"]
+
+          [busid, parent_busid, mac].any? { |v| v.casecmp(key).zero? }
         end
         next if !matching_item
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-network-4.1.44/src/modules/LanItems.rb 
new/yast2-network-4.2.0/src/modules/LanItems.rb
--- old/yast2-network-4.1.44/src/modules/LanItems.rb    2019-03-21 
14:33:39.000000000 +0100
+++ new/yast2-network-4.2.0/src/modules/LanItems.rb     2019-04-05 
10:05:31.000000000 +0200
@@ -2954,6 +2954,7 @@
     publish function: :setDriver, type: "void (string)"
     publish function: :enableCurrentEditButton, type: "boolean ()"
     publish function: :createS390Device, type: "boolean ()"
+    publish function: :find_dhcp_ifaces, type: "list <string> ()"
   end
 
   LanItems = LanItemsClass.new


Reply via email to