Skip to content
Snippets Groups Projects
Commit 4ad0b08b authored by Natanael Copa's avatar Natanael Copa
Browse files

scripts/mkimg.standard.sh: drop serial for virt

We now autodetect serial from initramfs, and it works with qemu's
-serial stdio, so we no longer need to add console=ttyS0 for x86_64.
parent 0f77e806
No related branches found
No related tags found
No related merge requests found
...@@ -81,10 +81,10 @@ profile_virt() { ...@@ -81,10 +81,10 @@ profile_virt() {
arch="aarch64 armv7 x86 x86_64" arch="aarch64 armv7 x86 x86_64"
kernel_addons= kernel_addons=
kernel_flavors="virt" kernel_flavors="virt"
local serial_console="ttyS0,115200"
case "$ARCH" in case "$ARCH" in
arm*|aarch64) serial_console="ttyAMA0";; arm*|aarch64)
kernel_cmdline="console=tty0 console=ttyAMA0"
;;
esac esac
kernel_cmdline="console=tty0 console=$serial_console"
syslinux_serial="0 115200" syslinux_serial="0 115200"
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment