d56dd56881
The bootloader element now has variable DIB_BOOTLOADER_VIRTUAL_TERMINAL to customize or suppress the console=tty0 kernel argument. This is proposed to allow console=tty0 to be removed entirely as it is causing significant performance degredation in DPDK environments. Change-Id: Iba2ee5b8a6b4acdd236a770550dffd29c784ce11 Related: rhbz#2179366
10 lines
487 B
Plaintext
10 lines
487 B
Plaintext
export DIB_BOOTLOADER_DEFAULT_CMDLINE=${DIB_BOOTLOADER_DEFAULT_CMDLINE:-"nofb nomodeset gfxpayload=text"}
|
|
export DIB_BOOTLOADER_SERIAL_CONSOLE=${DIB_BOOTLOADER_SERIAL_CONSOLE:-""}
|
|
if [ ! -v DIB_BOOTLOADER_VIRTUAL_TERMINAL ]; then
|
|
# DIB_BOOTLOADER_VIRTUAL_TERMINAL is unset
|
|
export DIB_BOOTLOADER_VIRTUAL_TERMINAL=tty0
|
|
else
|
|
# DIB_BOOTLOADER_VIRTUAL_TERMINAL is set to empty string or other value
|
|
export DIB_BOOTLOADER_VIRTUAL_TERMINAL=${DIB_BOOTLOADER_VIRTUAL_TERMINAL}
|
|
fi
|