Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
dracut.4406
0047-95resume-skip-module-for-s390-x.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0047-95resume-skip-module-for-s390-x.patch of Package dracut.4406
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor