Skip to content

Commit

Permalink
plymouth: ignore serial console hvc0 in UEFI
Browse files Browse the repository at this point in the history
(cherry picked from commit 61b9336)
  • Loading branch information
fepitre authored and marmarek committed Mar 19, 2019
1 parent 4111545 commit ad9f337
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ad9f337

Please sign in to comment.