- Check if NAME key has a value before going thru the rule (bnc#885232).

Add 1051-check-if-NAME-has-a-value.patch 

- Check if NAME key has a value before going thru the rule (bnc#885232).
  Add 1051-check-if-NAME-has-a-value.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=720
This commit is contained in:
Robert Milasan 2014-07-17 06:35:02 +00:00 committed by Git OBS Bridge
parent 0197e4bcea
commit b420f73a08
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
@@ -5,6 +5,7 @@
ACTION=="remove", GOTO="net-sriov-names_end"
SUBSYSTEM!="net", GOTO="net-sriov-names_end"
KERNEL!="eth*", GOTO="net-sriov-names_end"
+NAME=="?*", GOTO="net-sriov-names_end"
IMPORT{cmdline}="net.ifnames"
ENV{net.ifnames}=="1", GOTO="net-sriov-names_end"

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 17 06:32:51 UTC 2014 - rmilasan@suse.com
- Check if NAME key has a value before going thru the rule (bnc#885232).
Add 1051-check-if-NAME-has-a-value.patch
-------------------------------------------------------------------
Tue Jul 15 12:30:31 UTC 2014 - rmilasan@suse.com

View File

@ -802,6 +802,8 @@ Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.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
# PATCH-FIX-SUSE 1051-check-if-NAME-has-a-value.patch (bnc#885232)
Patch1051: 1051-check-if-NAME-has-a-value.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -1357,6 +1359,7 @@ cp %{SOURCE7} m4/
%patch1048 -p0
%patch1049 -p0
%patch1050 -p1
%patch1051 -p1
# ensure generate files are removed
rm -f units/emergency.service

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 17 06:32:51 UTC 2014 - rmilasan@suse.com
- Check if NAME key has a value before going thru the rule (bnc#885232).
Add 1051-check-if-NAME-has-a-value.patch
-------------------------------------------------------------------
Tue Jul 15 12:30:31 UTC 2014 - rmilasan@suse.com

View File

@ -797,6 +797,8 @@ Patch1048: 1048-udev-net_setup_link-add-a-bit-more-logging.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
# PATCH-FIX-SUSE 1051-check-if-NAME-has-a-value.patch (bnc#885232)
Patch1051: 1051-check-if-NAME-has-a-value.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -1352,6 +1354,7 @@ cp %{SOURCE7} m4/
%patch1048 -p0
%patch1049 -p0
%patch1050 -p1
%patch1051 -p1
# ensure generate files are removed
rm -f units/emergency.service