summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorMatei Valeanu <Matei.Valeanu@enea.com>2018-07-27 02:36:43 +0200
committerMartin Borg <martin.borg@enea.com>2018-09-21 10:16:33 +0200
commita1c49a0482b0087ac82774603ed3ed8a9b4ce627 (patch)
treeaf7a48d4bb15f174fd19c85412da8a7661218ac4 /images
parentc9dbb6f104dd53b524074a3692e01974e97708d4 (diff)
downloadmeta-el-nfv-access-a1c49a0482b0087ac82774603ed3ed8a9b4ce627.tar.gz
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 <Matei.Valeanu@enea.com>
Diffstat (limited to 'images')
-rw-r--r--images/enea-nfv-access-host-common.inc10
1 files changed, 5 insertions, 5 deletions
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 @@
1require images/enea-nfv-access-common.inc 1require images/enea-nfv-access-common.inc
2require classes/override_grub-efi.inc
2 3
3IMAGE_INSTALL += " \ 4IMAGE_INSTALL += " \
4 packagegroup-enea-virtualization-host \ 5 packagegroup-enea-virtualization-host \
@@ -8,11 +9,10 @@ IMAGE_INSTALL += " \
8# Set labels for GRUB and SYSLINUX 9# Set labels for GRUB and SYSLINUX
9LABELS_LIVE = "live-boot installer" 10LABELS_LIVE = "live-boot installer"
10 11
11# Append default parameters for x86-64 targets and avoid duplicate serial configs 12GRUB_GFXSERIAL_x86-64 = "1"
12APPEND_x86-64 = "console=ttyS0,115200 console=tty0 quiet" 13# Append default parameters for x86-64 targets
13GRUB_SERIAL_x86-64 = "" 14APPEND_x86-64 = "quiet"
14SYSLINUX_DEFAULT_CONSOLE_x86-64 = "" 15SYSLINUX_DEFAULT_CONSOLE_x86-64 = "console=tty0"
15SYSLINUX_SERIAL_TTY_x86-64 = ""
16 16
17# Set timeout values 17# Set timeout values
18GRUB_TIMEOUT_x86-64 = "10" 18GRUB_TIMEOUT_x86-64 = "10"