asorti is only implemented by GAWK; replace by the sort system command,
so that we can build with other implementations.
Fixes: 87648e9c12a3 ("grub-core/genmoddep.awk: Ensure output is deterministic",
2023-06-01)
Signed-off-by: Ismael Luceno
---
grub-core/genmoddep.awk | 11 -
Signed-off-by: Ismael Luceno
---
util/grub-install.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/grub-install.c b/util/grub-install.c
index da50bd58b73b..45f549c25867 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -1859,6 +1859,7 @@ main (int argc, char *argv
RUB!
error: ../../grub-core/kern/dl.c:380:symbol `grub_disk_get_size' not found.
Entering rescue mode...
grub rescue>
Introduce a point of no return after embedding grub in the PReP
partition, and make sure /dev/nvram is functional or fail early.
Ismael Luceno (2):
grub-insta
This enables an early failure; for i386-ieee1275 and powerpc-ieee1275 on
Linux, without /dev/nvram the system may be left in an unbootable state.
Signed-off-by: Ismael Luceno
---
util/grub-install.c | 24
1 file changed, 24 insertions(+)
diff --git a/util/grub
On Thu, 25 Aug 2022 12:24:17 +0800
Michael Chang wrote:
<...>
> Apparently there's missing grub_set_install_backup_ponr between
> successful image embedding and grub_install_register_ieee1275 and we
> should fix that as well.
Thanks for the feedback; I've sent v2.
<...>
> > + if (linux_kmod_lo
This enables an early failure; for i386-ieee1275 and powerpc-ieee1275 on
Linux, without /dev/nvram the system may be left in an unbootable state.
Signed-off-by: Ismael Luceno
---
util/grub-install.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/util/grub-install.c
RUB!
error: ../../grub-core/kern/dl.c:380:symbol `grub_disk_get_size' not found.
Entering rescue mode...
grub rescue>
The patches in this series introduce a couple of points of no return
before updating the nvram, and make sure /dev/nvram is functional or
fail early.
Ismael Luc
Signed-off-by: Ismael Luceno
---
util/grub-install.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/util/grub-install.c b/util/grub-install.c
index 7b04bd3c534b..527b85e27aa7 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -1835,6 +1835,7 @@ main (int argc, char *argv
The function checks for already loaded (incl. built-in) modules first at
/sys/module/, then tries to load it.
Abort when unable to load efivarfs/efivars.
Signed-off-by: Ismael Luceno
---
grub-core/osdep/unix/platform.c | 24
1 file changed, 20 insertions(+), 4
escue>
Signed-off-by: Ismael Luceno
---
grub-core/osdep/unix/platform.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/grub-core/osdep/unix/platform.c b/grub-core/osdep/unix/platform.c
index a5bf064b7cf5..fd23176e58a0 100644
--- a/grub-core/osdep/unix/platform.c
+++ b/grub-co
When the /dev/nvram device is unavailable, the installation fails and
leaves the system in an unbootable state.
The patches in this series introduce a handler for the boilerplate code
and make sure nvram is available.
Ismael Luceno (2):
Add helper to load linux kmods
Ensure nvram is
Signed-off-by: Ismael Luceno
---
util/grub.d/10_linux.in | 6 ++
util/grub.d/20_linux_xen.in | 6 ++
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in
index c6a1ec935bfc..321e590da192 100644
--- a/util/grub.d/10_linux.in
12 matches
Mail list logo