]> git.ipfire.org Git - thirdparty/dracut.git/blobdiff - modules.d/90crypt/module-setup.sh
Replace $(arch) by $(uname -m)
[thirdparty/dracut.git] / modules.d / 90crypt / module-setup.sh
index 1ec59096442007644a85e3d48810e08481ccabdf..bd5bb6a06ef0fe6b8bf811f19184e50a28249718 100755 (executable)
@@ -25,7 +25,7 @@ depends() {
 # called by dracut
 installkernel() {
     hostonly="" instmods drbg
-    arch=$(arch)
+    arch=$(uname -m)
     [[ $arch == x86_64 ]] && arch=x86
     [[ $arch == s390x ]] && arch=s390
     instmods dm_crypt =crypto =drivers/crypto =arch/$arch/crypto