parent
be1de38a6c
commit
a8d6a63fd5
@ -0,0 +1,29 @@
|
||||
From 3fe2b3927e21e8a81c53baae83243100acad3b0c Mon Sep 17 00:00:00 2001
|
||||
From: Freeman Zhang <zhanggyb@lenovo.com>
|
||||
Date: Thu, 25 Nov 2021 11:23:17 +0800
|
||||
Subject: [PATCH] Copy 'unicode.pf2' from correct path
|
||||
|
||||
The 'unicode.pf2' font file for grub2 does not exist in
|
||||
'/boot/efi/EFI/' any more in Fedora 35, and causes image build
|
||||
fail. Use '/usr/share/grub/unicode.pf2' which belongs to
|
||||
'grub2-tools' package instead.
|
||||
---
|
||||
imgcreate/live.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
||||
index e71cc49..8f971b6 100644
|
||||
--- a/imgcreate/live.py
|
||||
+++ b/imgcreate/live.py
|
||||
@@ -720,7 +720,7 @@ menu end
|
||||
("/boot/efi/EFI/*/gcd%s.efi" % (self.efiarch.lower(),), "/EFI/BOOT/grub%s.efi" % (self.efiarch.lower(),), True),
|
||||
("/boot/efi/EFI/*/shimia32.efi", "/EFI/BOOT/BOOTIA32.EFI", False),
|
||||
("/boot/efi/EFI/*/gcdia32.efi", "/EFI/BOOT/grubia32.efi", False),
|
||||
- ("/boot/efi/EFI/*/fonts/unicode.pf2", "/EFI/BOOT/fonts/", True),
|
||||
+ ("/usr/share/grub/unicode.pf2", "/EFI/BOOT/fonts/", True),
|
||||
]
|
||||
makedirs(isodir+"/EFI/BOOT/fonts/")
|
||||
for src, dest, required in files:
|
||||
--
|
||||
2.33.1
|
||||
|
Loading…
Reference in new issue