From 3a8697fe5c6d3ddf465f069f154d25be8087a7e6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 17 May 2017 16:30:03 +0100 Subject: [PATCH] host examination: serial, grub2: put cookie in menu lines Empirically, the message printed by `echo' is not always shown. It seems to depend on the host BIOS. I suspect that there's a VGA-to-serial conversion step which only triggers when grub asks for keyboard input, or something. In any case, empirically, increasing the sleep (and sleeping before) did not work on the godellos. Instead, stuff the cookie into the start of grub menu entries. This is gross but effective. We put it in the first menu, and the first submenu, which means it will appear on the screen somewhere. Signed-off-by: Ian Jackson --- ts-examine-serial-pre | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ts-examine-serial-pre b/ts-examine-serial-pre index 01134ad9..26fbc565 100755 --- a/ts-examine-serial-pre +++ b/ts-examine-serial-pre @@ -83,12 +83,12 @@ echo osstest uboot $c END } else { $ed->('/boot/grub/grub.cfg',<