From 61b9336d70791f726125e0b3f7c1aae43d64be97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?= Date: Fri, 15 Mar 2019 14:41:17 +0100 Subject: [PATCH] plymouth: ignore serial console hvc0 in UEFI --- kernel.spec.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kernel.spec.in b/kernel.spec.in index 5f11f64..73caae3 100644 --- a/kernel.spec.in +++ b/kernel.spec.in @@ -408,6 +408,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