bb76751d8a
- Rediff patches to match git repository - 95fcoe: Check for FCoE devices prior to binaries * Modify 0055-95fcoe-Only-install-fcoe-module-if-required.patch - 99base: Install chown instead of chgrp * Modify 0052-99base-Add-chown-binary.patch - 95iscsi: do not try to detect iSCSI firmware during booting; should be handled via commandline parameter * Modify 0030-95iscsi-Autodetect-iSCSI-firmware.patch - Rename patch: * old: 0051-mkinitrd-suse-add-update-booloader-message.patch new: 0051-mkinitrd-suse-add-update-bootloader-message.patch OBS-URL: https://build.opensuse.org/request/show/236229 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=157
32 lines
964 B
Diff
32 lines
964 B
Diff
From e7d92a233044614bc6eed412abd05dc99432a455 Mon Sep 17 00:00:00 2001
|
|
From: Hannes Reinecke <hare@suse.de>
|
|
Date: Mon, 2 Jun 2014 14:46:55 +0200
|
|
Subject: [PATCH] 95resume: skip module for s390(x)
|
|
|
|
s390(x) kernels do not support suspend, so there is no need
|
|
to include this module.
|
|
|
|
Signed-off-by: Thomas Renninger <trenn@suse.de>
|
|
---
|
|
modules.d/95resume/module-setup.sh | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/modules.d/95resume/module-setup.sh b/modules.d/95resume/module-setup.sh
|
|
index b1b4684..7f3cf24 100755
|
|
--- a/modules.d/95resume/module-setup.sh
|
|
+++ b/modules.d/95resume/module-setup.sh
|
|
@@ -4,6 +4,10 @@
|
|
|
|
# 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.8.4.5
|
|
|