]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt: correct s390 arch to include arch-specific crypto modules
authorHendrik Brueckner <brueckner@linux.ibm.com>
Wed, 25 Apr 2018 15:29:26 +0000 (17:29 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 26 Apr 2018 11:34:53 +0000 (13:34 +0200)
Convert the s390x into s390 to also include s390-specific crypto
modules, for example, aes_s390 into the initramfs.

Signed-off-by: Hendrik Brueckner <brueckner@linux.ibm.com>
modules.d/90crypt/module-setup.sh

index b7232e987ff9c80fd2b3cf0e21f24deb1967f77f..1ec59096442007644a85e3d48810e08481ccabdf 100755 (executable)
@@ -27,6 +27,7 @@ installkernel() {
     hostonly="" instmods drbg
     arch=$(arch)
     [[ $arch == x86_64 ]] && arch=x86
+    [[ $arch == s390x ]] && arch=s390
     instmods dm_crypt =crypto =drivers/crypto =arch/$arch/crypto
 }