mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
5e72956199
This reverts commit 93004a8494
,
because it broke Rawhide. It also tries to fixes BLS ostree
detection to work in chroots (e.g. during installation) by also
checking for /ostree/repo.
28 lines
850 B
Diff
28 lines
850 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
|
Date: Sat, 9 Nov 2019 19:51:57 +0000
|
|
Subject: [PATCH] Add start symbol for RISC-V
|
|
|
|
All other architectures have start symbol.
|
|
|
|
Hopefully this resolves:
|
|
|
|
BUILDSTDERR: ././grub-mkimage: error: undefined symbol start.
|
|
|
|
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
|
|
---
|
|
grub-core/kern/riscv/efi/startup.S | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/grub-core/kern/riscv/efi/startup.S b/grub-core/kern/riscv/efi/startup.S
|
|
index f2a7b2b1ede..781773136e8 100644
|
|
--- a/grub-core/kern/riscv/efi/startup.S
|
|
+++ b/grub-core/kern/riscv/efi/startup.S
|
|
@@ -29,6 +29,7 @@
|
|
|
|
.file "startup.S"
|
|
.text
|
|
+FUNCTION(start)
|
|
FUNCTION(_start)
|
|
/*
|
|
* EFI_SYSTEM_TABLE and EFI_HANDLE are passed in a1/a0.
|