Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
dracut.15235
0619-01fips-Use-correct-kernel-image-name-for-m...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0619-01fips-Use-correct-kernel-image-name-for-more-platfo.patch of Package dracut.15235
From 63964add69ac452a23dddeb40db38e92a5693ddb Mon Sep 17 00:00:00 2001 From: Daniel Molkentin <dmolkentin@suse.com> Date: Tue, 18 Feb 2020 15:38:07 +0100 Subject: [PATCH] 01fips: Use correct kernel image name for more platforms Reference: bsc#1164076 --- modules.d/01fips/fips.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/modules.d/01fips/fips.sh b/modules.d/01fips/fips.sh index 081dba95..7632e7a8 100755 --- a/modules.d/01fips/fips.sh +++ b/modules.d/01fips/fips.sh @@ -79,12 +79,25 @@ do_fips() local _s local _v local _module - local _arch=$(uname -m) - local _vmname=vmlinuz + local _vmname - if [ "$_arch" == "s390x" ]; then + case "$(uname -m)" in + s390|s390x) _vmname=image - fi + ;; + ppc|ppc64|ppc64le) + _vmname=vmlinux + ;; + aarch64) + _vmname=Image + ;; + armv*) + _vmname=zImage + ;; + *) + _vmname=vmlinuz + ;; + esac KERNEL=$(uname -r) FIPSCHECK=/usr/lib64/libkcapi/fipscheck -- 2.16.4
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