From 6f60c4696fd351b3e0dd9ca4ed3de9c111403f2b Mon Sep 17 00:00:00 2001 From: Vincent Li Date: Mon, 23 Sep 2024 17:56:26 +0000 Subject: [PATCH] lfs/flash-images: missing serial 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 193338979..b6101b476 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -177,6 +177,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 \