]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
add missing crypto modules for aarch64
authorHarald Hoyer <harald@redhat.com>
Thu, 23 Jan 2020 12:47:53 +0000 (13:47 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 23 Jan 2020 12:47:53 +0000 (13:47 +0100)
Fixes https://github.com/dracutdevs/dracut/issues/711

modules.d/90crypt/module-setup.sh

index 254e2a5f925e886bea75e29e35acafa227bc9d1f..51a045c2f754c972f36ba13294b1305c86eb5805 100755 (executable)
@@ -28,6 +28,7 @@ installkernel() {
     arch=$(uname -m)
     [[ $arch == x86_64 ]] && arch=x86
     [[ $arch == s390x ]] && arch=s390
+    [[ $arch == aarch64 ]] && arch=arm64
     instmods dm_crypt =crypto =drivers/crypto =arch/$arch/crypto
 }