grub2/0148-fix-machine-type-test-in-30_os-prober.in.patch
Peter Jones dd84573118 Rebuild so it gets SB signed correctly.
Related: rhbz#1335533
Enable lsefi

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-08-03 13:35:21 -04:00

26 lines
709 B
Diff

From c75c918940b77108007e86e47e16b9a0fbcfdf5d Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Mon, 11 Jul 2016 13:36:45 -0400
Subject: [PATCH 148/177] fix machine type test in 30_os-prober.in
Signed-off-by: Peter Jones <pjones@redhat.com>
---
util/grub.d/30_os-prober.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in
index dc98eace9..e40274fc0 100644
--- a/util/grub.d/30_os-prober.in
+++ b/util/grub.d/30_os-prober.in
@@ -144,6 +144,7 @@ for OS in ${OSPROBED} ; do
sixteenbit=""
linuxefi="linux"
initrdefi="initrd"
+ machine=`uname -m`
case "$machine" in
i?86|x86_64)
sixteenbit="16"
--
2.13.3