From a14b119c235cfe094236ca9cddf96a9810229e18 Mon Sep 17 00:00:00 2001 From: Gabriel Ionescu Date: Fri, 9 Aug 2019 16:30:42 +0200 Subject: Make the serial console as the first choice in GRUB and SYSLINUX Change-Id: I146aafd422d0f99b25ef222380e053b08239c02f --- classes/override_grub-efi.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/override_grub-efi.inc b/classes/override_grub-efi.inc index 4c2ae64..15a7063 100644 --- a/classes/override_grub-efi.inc +++ b/classes/override_grub-efi.inc @@ -48,8 +48,8 @@ python build_efi_cfg() { bb.fatal('GRUB_ROOT not defined') if gfxserial == "1": - btypes = [ [ " graphics console", d.getVar('GRUB_GRAPHICS') or "" ], - [ " serial console", d.getVar('GRUB_SERIAL') or "" ] ] + btypes = [ [ " serial console", d.getVar('GRUB_SERIAL') or "" ], + [ " graphics console", d.getVar('GRUB_GRAPHICS') or "" ] ] else: btypes = [ [ "", "" ] ] -- cgit v1.2.3-54-g00ecf