From a1c49a0482b0087ac82774603ed3ed8a9b4ce627 Mon Sep 17 00:00:00 2001 From: Matei Valeanu Date: Fri, 27 Jul 2018 02:36:43 +0200 Subject: boot menu: Add graphics and serial choices Add override_grub-efi.inc to override "build_efi_cfg" function from grub-efi.bbclass, in order to add GRUB_GRAPHICS variable for grub menuentry specific parameters. Set "console=tty0" for graphic console options for grub and syslinux, and also "console=ttyS0" for serial. Change-Id: If338d9f7e1b82fc91a026ef48ae30647c1049f8b Signed-off-by: Matei Valeanu --- images/enea-nfv-access-host-common.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'images') diff --git a/images/enea-nfv-access-host-common.inc b/images/enea-nfv-access-host-common.inc index 9958861..3015b0a 100644 --- a/images/enea-nfv-access-host-common.inc +++ b/images/enea-nfv-access-host-common.inc @@ -1,4 +1,5 @@ require images/enea-nfv-access-common.inc +require classes/override_grub-efi.inc IMAGE_INSTALL += " \ packagegroup-enea-virtualization-host \ @@ -8,11 +9,10 @@ IMAGE_INSTALL += " \ # Set labels for GRUB and SYSLINUX LABELS_LIVE = "live-boot installer" -# Append default parameters for x86-64 targets and avoid duplicate serial configs -APPEND_x86-64 = "console=ttyS0,115200 console=tty0 quiet" -GRUB_SERIAL_x86-64 = "" -SYSLINUX_DEFAULT_CONSOLE_x86-64 = "" -SYSLINUX_SERIAL_TTY_x86-64 = "" +GRUB_GFXSERIAL_x86-64 = "1" +# Append default parameters for x86-64 targets +APPEND_x86-64 = "quiet" +SYSLINUX_DEFAULT_CONSOLE_x86-64 = "console=tty0" # Set timeout values GRUB_TIMEOUT_x86-64 = "10" -- cgit v1.2.3-54-g00ecf