- 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/package/show/Base:System/systemd?expand=0&rev=718
This commit is contained in:
Robert Milasan 2014-07-15 12:33:30 +00:00 committed by Git OBS Bridge
parent 73a1ab6e1b
commit 0197e4bcea
5 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 15 12:30:31 UTC 2014 - rmilasan@suse.com
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de

View File

@ -800,6 +800,8 @@ Patch1047: 1047-udev-net_setup_link-builtin-should-print-the-reason-.patch
Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.patch Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.patch
# PATCH-FIX-UPSTREAM 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch # PATCH-FIX-UPSTREAM 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch
Patch1049: 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch Patch1049: 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch
# PATCH-FIX-SUSE 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch (bnc#885232)
Patch1050: 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -1354,6 +1356,7 @@ cp %{SOURCE7} m4/
%patch1047 -p0 %patch1047 -p0
%patch1048 -p0 %patch1048 -p0
%patch1049 -p0 %patch1049 -p0
%patch1050 -p1
# ensure generate files are removed # ensure generate files are removed
rm -f units/emergency.service rm -f units/emergency.service

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 15 12:30:31 UTC 2014 - rmilasan@suse.com
- 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
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de Tue Jul 15 07:39:40 UTC 2014 - werner@suse.de

View File

@ -795,6 +795,8 @@ Patch1047: 1047-udev-net_setup_link-builtin-should-print-the-reason-.patch
Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.patch Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.patch
# PATCH-FIX-UPSTREAM 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch # PATCH-FIX-UPSTREAM 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch
Patch1049: 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch Patch1049: 1049-udev-link_config-ignore-errors-due-to-missing-MAC-ad.patch
# PATCH-FIX-SUSE 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch (bnc#885232)
Patch1050: 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch
%description %description
Systemd is a system and service manager, compatible with SysV and LSB Systemd is a system and service manager, compatible with SysV and LSB
@ -1349,6 +1351,7 @@ cp %{SOURCE7} m4/
%patch1047 -p0 %patch1047 -p0
%patch1048 -p0 %patch1048 -p0
%patch1049 -p0 %patch1049 -p0
%patch1050 -p1
# ensure generate files are removed # ensure generate files are removed
rm -f units/emergency.service rm -f units/emergency.service