From: Ondrej Mosnacek Date: Fri, 4 Dec 2020 16:21:05 +0000 (+0100) Subject: fix(90kernel-modules): install generic crypto modules with hostonly unset X-Git-Tag: 052~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=951c6655f1726634926c0dd5343b6cfe82e29b33;p=thirdparty%2Fdracut.git fix(90kernel-modules): install generic crypto modules with hostonly unset Otherwise e.g. the xts(aes) implementation provided by the vmx_crypto module (which does usually get included on ppc64le) fails to initialize when xts is built as a module (CONFIG_CRYPTO_XTS=m), because it can't instantiate the fallback generic xts(aes) implementation (needs the generic xts module). Signed-off-by: Ondrej Mosnacek --- diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index 49609855e..cab81ffaa 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -131,7 +131,8 @@ installkernel() { [[ $arch == x86_64 ]] && arch=x86 [[ $arch == s390x ]] && arch=s390 [[ $arch == aarch64 ]] && arch=arm64 - instmods "=crypto" "=arch/$arch/crypto" "=drivers/crypto" + hostonly='' instmods "=crypto" + instmods "=arch/$arch/crypto" "=drivers/crypto" fi : }