dracut/0154-resume-Also-allow-this-module-on-S390-again-s2disk-c.patch

32 lines
947 B
Diff
Raw Normal View History

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