systemd/1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch
Robert Milasan 49fa4f55de Accepting request 241066 from home:rmilasan:branches:Base:System
- Only rename SRIOV-VF devices if device name start with eth (bnc#885232).
  Add 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch

- Only rename SRIOV-VF devices if device name start with eth (bnc#885232).
  Add 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch

OBS-URL: https://build.opensuse.org/request/show/241066
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=718
2014-07-15 12:33:30 +00:00

13 lines
509 B
Diff

Index: systemd-210/src/udev/rule_generator/76-net-sriov-names.rules
===================================================================
--- systemd-210.orig/src/udev/rule_generator/76-net-sriov-names.rules
+++ systemd-210/src/udev/rule_generator/76-net-sriov-names.rules
@@ -4,6 +4,7 @@
ACTION=="remove", GOTO="net-sriov-names_end"
SUBSYSTEM!="net", GOTO="net-sriov-names_end"
+KERNEL!="eth*", GOTO="net-sriov-names_end"
IMPORT{cmdline}="net.ifnames"
ENV{net.ifnames}=="1", GOTO="net-sriov-names_end"