mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 22:35:28 +00:00
e1531466e1
This change updates grub to the 2.04 release. The new release changed how grub is built, so the bootstrap and bootstrap.conf files have to be added to the dist-git. Also, the gitignore file changed so it has to be updated. Since the patches have been forward ported to 2.04, there's no need for a logic to maintain a patch with the delta between the release and the grub master branch. So the release-to-master.patch is dropped and no longer is updated by the do-rebase script. Also since gnulib isn't part of the grub repository anymore and cloned by the boostrap tool, a gnulib tarball is included as other source file and copied before calling the bootstrap tool. That way grub can be built even in builders that only have access to the sources lookaside cache. Resolves: rhbz#1727279 Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||
From: Peter Jones <pjones@redhat.com>
|
||
Date: Fri, 31 Aug 2018 16:42:03 -0400
|
||
Subject: [PATCH] Make "reset" an alias for the "reboot" command.
|
||
|
||
I'm really tired of half the tools I get to use having one and the other half
|
||
having the other.
|
||
|
||
Signed-off-by: Peter Jones <pjones@redhat.com>
|
||
---
|
||
grub-core/commands/reboot.c | 11 +++++++----
|
||
1 file changed, 7 insertions(+), 4 deletions(-)
|
||
|
||
diff --git a/grub-core/commands/reboot.c b/grub-core/commands/reboot.c
|
||
index 46d364c99a9..f5cc2283636 100644
|
||
--- a/grub-core/commands/reboot.c
|
||
+++ b/grub-core/commands/reboot.c
|
||
@@ -32,15 +32,18 @@ grub_cmd_reboot (grub_command_t cmd __attribute__ ((unused)),
|
||
grub_reboot ();
|
||
}
|
||
|
||
-static grub_command_t cmd;
|
||
+static grub_command_t reboot_cmd, reset_cmd;
|
||
|
||
GRUB_MOD_INIT(reboot)
|
||
{
|
||
- cmd = grub_register_command ("reboot", grub_cmd_reboot,
|
||
- 0, N_("Reboot the computer."));
|
||
+ reboot_cmd = grub_register_command ("reboot", grub_cmd_reboot,
|
||
+ 0, N_("Reboot the computer."));
|
||
+ reset_cmd = grub_register_command ("reset", grub_cmd_reboot,
|
||
+ 0, N_("Reboot the computer."));
|
||
}
|
||
|
||
GRUB_MOD_FINI(reboot)
|
||
{
|
||
- grub_unregister_command (cmd);
|
||
+ grub_unregister_command (reboot_cmd);
|
||
+ grub_unregister_command (reset_cmd);
|
||
}
|