plymouth: ignore serial console hvc0 in UEFI

(cherry picked from commit 61b9336d70)
This commit is contained in:
Frédéric Pierret (fepitre) 2019-03-15 14:41:17 +01:00 committed by Marek Marczykowski-Górecki
parent 4111545966
commit ad9f3374c7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -434,6 +434,12 @@ if [ -f /etc/default/grub ]; then
fi
fi
if [ -f /boot/efi/EFI/qubes/xen.cfg ]; then
if ! grep -q plymouth.ignore-serial-consoles /boot/efi/EFI/qubes/xen.cfg; then
sed -i 's/kernel=.*/& plymouth.ignore-serial-consoles/g' /boot/efi/EFI/qubes/xen.cfg
fi
fi
/bin/kernel-install add %{kernelrelease} /boot/vmlinuz-%{kernelrelease} || exit $?
# grubby (used by new-kernel-pkg) do not understand xen entries in grub2 config