mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
runqemu: Avoid duplicating custom QEMU options for AArch64
When detecting the second serial options we shouldn't append the custom QEMU options otherwise we will end duplicating those. (From OE-Core rev: 79798f20b2c0b98d84c3c4b14600635ff8ddfdad) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e8e8d412e7
commit
dc626e3bdc
@@ -681,7 +681,7 @@ fi
|
|||||||
# qemuarm64 uses virtio for any additional serial ports so the normal mechanism
|
# qemuarm64 uses virtio for any additional serial ports so the normal mechanism
|
||||||
# of using -serial will not work
|
# of using -serial will not work
|
||||||
if [ "$MACHINE" = "qemuarm64" ]; then
|
if [ "$MACHINE" = "qemuarm64" ]; then
|
||||||
SECOND_SERIAL_OPT="$SCRIPT_QEMU_EXTRA_OPT -device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
|
SECOND_SERIAL_OPT="-device virtio-serial-device -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
|
||||||
else
|
else
|
||||||
SECOND_SERIAL_OPT="-serial null"
|
SECOND_SERIAL_OPT="-serial null"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user