Compare commits

...

2 Commits

Author SHA1 Message Date
David Abdurachmanov 9ba2389d13
Add BR for python-unversioned-command
autogen.sh script uses python, not python3.

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-09 18:25:49 +02:00
David Abdurachmanov 94355d118b
Extend patch #150 to add riscv
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
2019-11-09 18:23:45 +02:00
3 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 264e0d598722f514ed8e3ce67b32238e164815a3 Mon Sep 17 00:00:00 2001
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
Date: Sat, 9 Nov 2019 16:21:23 +0000
Subject: [PATCH] Add riscv64 to 150 patch
See:
0150-Try-to-pick-better-locations-for-kernel-and-initrd.patch
---
include/grub/riscv64/efi/memory.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/grub/riscv64/efi/memory.h b/include/grub/riscv64/efi/memory.h
index c6cb324..acb61dc 100644
--- a/include/grub/riscv64/efi/memory.h
+++ b/include/grub/riscv64/efi/memory.h
@@ -2,5 +2,6 @@
#include <grub/efi/memory.h>
#define GRUB_EFI_MAX_USABLE_ADDRESS 0xffffffffffffULL
+#define GRUB_EFI_MAX_ALLOCATION_ADDRESS GRUB_EFI_MAX_USABLE_ADDRESS
#endif /* ! GRUB_MEMORY_CPU_HEADER */
--
2.24.0

View File

@ -183,3 +183,4 @@ Patch0182: 0182-Set-a-devicetree-var-in-a-BLS-config-if-GRUB_DEFAULT.patch
Patch0183: 0183-Don-t-add-a-class-option-to-menu-entries-generated-f.patch
Patch0184: 0184-10_linux.in-Also-use-GRUB_CMDLINE_LINUX_DEFAULT-to-s.patch
Patch0185: 0185-blscfg-Don-t-hardcode-an-env-var-as-fallback-for-the.patch
Patch0200: 0001-Add-riscv64-to-150-patch.patch

View File

@ -34,7 +34,7 @@ Source12: gnulib-%{gnulibversion}.tar.gz
%include %{SOURCE2}
BuildRequires: gcc efi-srpm-macros
BuildRequires: flex bison binutils python3
BuildRequires: flex bison binutils python3 python-unversioned-command
BuildRequires: ncurses-devel xz-devel bzip2-devel
BuildRequires: freetype-devel libusb-devel
BuildRequires: fuse-devel