diff options
author | Matei Valeanu <Matei.Valeanu@enea.com> | 2018-07-27 02:36:43 +0200 |
---|---|---|
committer | Martin Borg <martin.borg@enea.com> | 2018-09-21 10:16:33 +0200 |
commit | a1c49a0482b0087ac82774603ed3ed8a9b4ce627 (patch) | |
tree | af7a48d4bb15f174fd19c85412da8a7661218ac4 /images | |
parent | c9dbb6f104dd53b524074a3692e01974e97708d4 (diff) | |
download | meta-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.inc | 10 |
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 @@ | |||
1 | require images/enea-nfv-access-common.inc | 1 | require images/enea-nfv-access-common.inc |
2 | require classes/override_grub-efi.inc | ||
2 | 3 | ||
3 | IMAGE_INSTALL += " \ | 4 | IMAGE_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 |
9 | LABELS_LIVE = "live-boot installer" | 10 | LABELS_LIVE = "live-boot installer" |
10 | 11 | ||
11 | # Append default parameters for x86-64 targets and avoid duplicate serial configs | 12 | GRUB_GFXSERIAL_x86-64 = "1" |
12 | APPEND_x86-64 = "console=ttyS0,115200 console=tty0 quiet" | 13 | # Append default parameters for x86-64 targets |
13 | GRUB_SERIAL_x86-64 = "" | 14 | APPEND_x86-64 = "quiet" |
14 | SYSLINUX_DEFAULT_CONSOLE_x86-64 = "" | 15 | SYSLINUX_DEFAULT_CONSOLE_x86-64 = "console=tty0" |
15 | SYSLINUX_SERIAL_TTY_x86-64 = "" | ||
16 | 16 | ||
17 | # Set timeout values | 17 | # Set timeout values |
18 | GRUB_TIMEOUT_x86-64 = "10" | 18 | GRUB_TIMEOUT_x86-64 = "10" |