dracut/0142-40network-Don-t-report-error-for-etc-sysconfig-netwo.patch
Thomas Renninger 233f49d9a7 Accepting request 356300 from home:favogt:branches:Base:System
Modify 0017-45ifcfg-use-distro-specific-scripts.patch:
 - Also revert upstream commit f34e1d6b to not forcibly
   include network and ifcfg modules (bsc#960669)
Refresh:
  - 0094-Implement-shortcut-ip-ifname-static-for-static-confi.patch
  - 0132-40network-fixup-static-network-configuration.patch
  - 0142-40network-Don-t-report-error-for-etc-sysconfig-netwo.patch
  - 0402-driver-fail-summary.patch
Add 0209-fix_modules_load_d_hostonly.patch:
  - Fix modules-load.d with hostonly (boo#962224)

OBS-URL: https://build.opensuse.org/request/show/356300
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=248
2016-01-27 16:45:27 +00:00

25 lines
898 B
Diff

From fac3fb787b0a74cf8d9d32939dd6d6831342a25d Mon Sep 17 00:00:00 2001
From: Julian Wolf <juwolf@suse.de>
Date: Tue, 19 Aug 2014 12:39:18 +0200
Subject: 40network: Don't report error for /etc/sysconfig/network/ifroute-*
during module setup
Signed-off-by: Julian Wolf <juwolf@suse.de>
---
modules.d/40network/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: dracut-044/modules.d/40network/module-setup.sh
===================================================================
--- dracut-044.orig/modules.d/40network/module-setup.sh
+++ dracut-044/modules.d/40network/module-setup.sh
@@ -60,7 +60,7 @@ install() {
[[ $hostonly ]] && {
inst_multiple /etc/sysconfig/network/ifcfg-*
- inst_multiple /etc/sysconfig/network/ifroute-*
+ inst_multiple -o /etc/sysconfig/network/ifroute-*
inst_simple /etc/sysconfig/network/routes
}