]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut.sh: fix ia32 detection for uefi executables
authorq66 <daniel@octaforge.org>
Sat, 25 Jul 2020 15:20:40 +0000 (17:20 +0200)
committerDaniel Molkentin <daniel@molkentin.de>
Mon, 3 Aug 2020 16:51:49 +0000 (18:51 +0200)
dracut.sh

index d5dfa77d7a22776aa19c35a70fed93e9e21a9723..8f78da06f4b2aeb10ce4817f75587fa17fdc0018 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1153,7 +1153,7 @@ if [[ ! $print_cmdline ]]; then
         case $(uname -m) in
             x86_64)
                 EFI_MACHINE_TYPE_NAME=x64;;
-            ia32)
+            i?86)
                 EFI_MACHINE_TYPE_NAME=ia32;;
             *)
                 dfatal "Architecture '$(uname -m)' not supported to create a UEFI executable"