Skip to content

Commit 47000df

Browse files
initial build
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
1 parent 75f217f commit 47000df

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
3+
cp "${BINARIES_DIR}/efi-part/EFI/BOOT/bootx64.efi" "${BINARIES_DIR}" || exit 1
4+
gzip "${BINARIES_DIR}/bootx64.efi" || return 1
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
diff --git a/grub-core/kern/main.c b/grub-core/kern/main.c
2+
index 3262444..3e37133 100644
3+
--- a/grub-core/kern/main.c
4+
+++ b/grub-core/kern/main.c
5+
@@ -211,8 +211,8 @@ grub_main (void)
6+
grub_machine_init ();
7+
8+
/* Hello. */
9+
- grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
10+
- grub_printf ("Welcome to GRUB!\n\n");
11+
+ //grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
12+
+ //grub_printf ("Welcome to GRUB!\n\n");
13+
grub_setcolorstate (GRUB_TERM_COLOR_STANDARD);
14+
15+
/* Load pre-loaded modules and free the space. */
16+
diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c
17+
index 7e0a158..255db71 100644
18+
--- a/grub-core/normal/menu.c
19+
+++ b/grub-core/normal/menu.c
20+
@@ -672,9 +672,9 @@ static void
21+
notify_booting (grub_menu_entry_t entry,
22+
void *userdata __attribute__((unused)))
23+
{
24+
- grub_printf (" ");
25+
- grub_printf_ (N_("Booting `%s'"), entry->title);
26+
- grub_printf ("\n\n");
27+
+ //grub_printf (" ");
28+
+ //grub_printf_ (N_("Booting `%s'"), entry->title);
29+
+ grub_printf ("\nRecalbox\n");
30+
}
31+
32+
/* Callback invoked when a default menu entry executed because of a timeout

configs/recalbox-x86_64_defconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
BR2_x86_64=y
2+
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/recalbox/copy-recalbox-archives.sh"
3+
BR2_TARGET_GRUB2=y
4+
BR2_TARGET_GRUB2_X86_64_EFI=y

0 commit comments

Comments
 (0)