Harald Hoyer fe68ba
From 3c8a69677b53562dcde0849f5497fd90e7bd358e Mon Sep 17 00:00:00 2001
Harald Hoyer fe68ba
From: Hendrik Brueckner <brueckner@linux.ibm.com>
Harald Hoyer fe68ba
Date: Wed, 25 Apr 2018 17:29:26 +0200
Harald Hoyer fe68ba
Subject: [PATCH] crypt: correct s390 arch to include arch-specific crypto
Harald Hoyer fe68ba
 modules
Harald Hoyer fe68ba
Harald Hoyer fe68ba
Convert the s390x into s390 to also include s390-specific crypto
Harald Hoyer fe68ba
modules, for example, aes_s390 into the initramfs.
Harald Hoyer fe68ba
Harald Hoyer fe68ba
Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Harald Hoyer fe68ba
---
Harald Hoyer fe68ba
 modules.d/90crypt/module-setup.sh | 1 +
Harald Hoyer fe68ba
 1 file changed, 1 insertion(+)
Harald Hoyer fe68ba
Harald Hoyer fe68ba
diff --git a/modules.d/90crypt/module-setup.sh b/modules.d/90crypt/module-setup.sh
Harald Hoyer fe68ba
index b7232e98..1ec59096 100755
Harald Hoyer fe68ba
--- a/modules.d/90crypt/module-setup.sh
Harald Hoyer fe68ba
+++ b/modules.d/90crypt/module-setup.sh
Harald Hoyer fe68ba
@@ -27,6 +27,7 @@ installkernel() {
Harald Hoyer fe68ba
     hostonly="" instmods drbg
Harald Hoyer fe68ba
     arch=$(arch)
Harald Hoyer fe68ba
     [[ $arch == x86_64 ]] && arch=x86
Harald Hoyer fe68ba
+    [[ $arch == s390x ]] && arch=s390
Harald Hoyer fe68ba
     instmods dm_crypt =crypto =drivers/crypto =arch/$arch/crypto
Harald Hoyer fe68ba
 }
Harald Hoyer fe68ba
 
Harald Hoyer fe68ba