From cf5df05796159fdffcdd497b73a4288f5564644c Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Sun, 22 Dec 2024 17:46:39 -0800 Subject: [PATCH] flash-images: add serial console linux command Add the missing serial linux command so the flash image can be converted to qcow2, the bpfire qcow2 image can be deployed in KVM virtual environment through serial console installation. for exmaple: virsh define BPFire-VM.xml virsh start BPFire-VM virsh console BPFire-VM we will have serial console access to BPFire VM and the installation will start. Signed-off-by: Vincent Li --- lfs/flash-images | 1 + 1 file changed, 1 insertion(+) diff --git a/lfs/flash-images b/lfs/flash-images index 1b5efd0fc..a55c68c02 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -176,6 +176,7 @@ ifeq "$(BOOTLOADER)" "grub" # Enable also serial console on GRUB echo "GRUB_TERMINAL=\"serial console\"" >> $(MNThdd)/etc/default/grub echo "GRUB_SERIAL_COMMAND=\"serial --unit=0 --speed=115200\"" >> $(MNThdd)/etc/default/grub + echo "GRUB_CMDLINE_LINUX=\"console=tty1 console=ttyS0,115200 rd.auto panic=10\"" >> $(MNThdd)/etc/default/grub # Add additional entry for Serial console cp $(DIR_SRC)/config/flash-images/grub/11_linux_scon \