Skip to content

Commit

Permalink
initial build
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Adenis-Lamarre <[email protected]>
  • Loading branch information
nadenislamarre committed Sep 7, 2016
1 parent 75f217f commit 47000df
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions board/recalbox/copy-recalbox-archives.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

cp "${BINARIES_DIR}/efi-part/EFI/BOOT/bootx64.efi" "${BINARIES_DIR}" || exit 1
gzip "${BINARIES_DIR}/bootx64.efi" || return 1
32 changes: 32 additions & 0 deletions boot/grub2/001-remove-messages.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
diff --git a/grub-core/kern/main.c b/grub-core/kern/main.c
index 3262444..3e37133 100644
--- a/grub-core/kern/main.c
+++ b/grub-core/kern/main.c
@@ -211,8 +211,8 @@ grub_main (void)
grub_machine_init ();

/* Hello. */
- grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
- grub_printf ("Welcome to GRUB!\n\n");
+ //grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT);
+ //grub_printf ("Welcome to GRUB!\n\n");
grub_setcolorstate (GRUB_TERM_COLOR_STANDARD);

/* Load pre-loaded modules and free the space. */
diff --git a/grub-core/normal/menu.c b/grub-core/normal/menu.c
index 7e0a158..255db71 100644
--- a/grub-core/normal/menu.c
+++ b/grub-core/normal/menu.c
@@ -672,9 +672,9 @@ static void
notify_booting (grub_menu_entry_t entry,
void *userdata __attribute__((unused)))
{
- grub_printf (" ");
- grub_printf_ (N_("Booting `%s'"), entry->title);
- grub_printf ("\n\n");
+ //grub_printf (" ");
+ //grub_printf_ (N_("Booting `%s'"), entry->title);
+ grub_printf ("\nRecalbox\n");
}

/* Callback invoked when a default menu entry executed because of a timeout
4 changes: 4 additions & 0 deletions configs/recalbox-x86_64_defconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
BR2_x86_64=y
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/recalbox/copy-recalbox-archives.sh"
BR2_TARGET_GRUB2=y
BR2_TARGET_GRUB2_X86_64_EFI=y

0 comments on commit 47000df

Please sign in to comment.