25 lines
732 B
Diff
25 lines
732 B
Diff
From e1bce654f1bd739cf1f975ff0a1f766221c3d4ee Mon Sep 17 00:00:00 2001
|
|
From: q66 <daniel@octaforge.org>
|
|
Date: Sat, 25 Jul 2020 17:20:40 +0200
|
|
Subject: [PATCH 1/4] dracut.sh: fix ia32 detection for uefi executables
|
|
|
|
---
|
|
dracut.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git dracut.sh dracut.sh
|
|
index e3195499..58ff24d1 100755
|
|
--- dracut.sh
|
|
+++ 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"
|
|
--
|
|
2.27.0
|
|
|