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 <omosnace@redhat.com>
master
Ondrej Mosnacek 2020-12-04 17:21:05 +01:00 committed by Harald Hoyer
parent a47c3f50b6
commit 951c6655f1
1 changed files with 2 additions and 1 deletions

View File

@ -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
:
}