dracut/0153-Only-add-network-module-on-request-and-on-dependenci.patch
Thomas Renninger 7604daf333 Accepting request 247544 from home:trenn:branches:Base:System
- Network module may take quite a lot of initrd space. Do not add it
  unconditionally (bnc#892851)
* Add 0153-Only-add-network-module-on-request-and-on-dependenci.patch
- S390x can do s2disk, allow resume module there
  (bnc#889795)
* Add 0154-resume-Also-allow-this-module-on-S390-again-s2disk-c.patch
- Harden iscsi parameter checking. No bug report, but this problem
  was found during multipath testing and happens with 2 or more
  iscsi devices.
* Add 0155-iscsi-iscsi.initiator-and-others-can-and-must-only-s.patch

OBS-URL: https://build.opensuse.org/request/show/247544
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=184
2014-09-04 13:06:46 +00:00

29 lines
787 B
Diff

From 8692d504138fdae15a1f94702efe3948917781cf Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.de>
Date: Mon, 1 Sep 2014 12:31:26 +0200
Subject: Only add network module on request (and on dependencies)
bnc#892851
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
modules.d/40network/module-setup.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules.d/40network/module-setup.sh b/modules.d/40network/module-setup.sh
index 8d74450..886866b 100755
--- a/modules.d/40network/module-setup.sh
+++ b/modules.d/40network/module-setup.sh
@@ -11,7 +11,7 @@ check() {
require_binaries ip arping $WICKEDD_DHCP_PATH/wickedd-dhcp4 $WICKEDD_DHCP_PATH/wickedd-dhcp6 || return 1
- return 0
+ return 255
}
# called by dracut
--
1.7.6.1