dracut/0154-resume-Also-allow-this-module-on-S390-again-s2disk-c.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

32 lines
947 B
Diff

From 30cb6e8070804878a060ffebd685d9a8579c696f Mon Sep 17 00:00:00 2001
From: Thomas Renninger <trenn@suse.de>
Date: Wed, 3 Sep 2014 13:49:16 +0200
Subject: resume: Also allow this module on S390 again -> s2disk can work on
s390(x)
bnc#889795
Signed-off-by: Thomas Renninger <trenn@suse.de>
---
modules.d/95resume/module-setup.sh | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
index b1044ed..108e6ab 100755
--- a/modules.d/95resume/module-setup.sh
+++ b/modules.d/95resume/module-setup.sh
@@ -4,10 +4,6 @@
# called by dracut
check() {
- local _arch=$(uname -m)
- # No suspend support on s390(x)
- [ "$_arch" = "s390" -o "$_arch" = "s390x" ] && return 1
-
# No point trying to support resume, if no swap partition exist
[[ $hostonly ]] || [[ $mount_needs ]] && {
for fs in "${host_fs_types[@]}"; do
--
1.7.6.1