Skip to content

Commit

Permalink
plymouth: ignore serial console hvc0 in UEFI
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Mar 15, 2019
1 parent a44160b commit 61b9336
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 @@ -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
Expand Down

0 comments on commit 61b9336

Please sign in to comment.