mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
on arm disk images make sure there is not a console=tty0 bootarg
Appending console=tty0 is problematic for many arm use cases. lets make sure we remove it so systems can just boot https://bugzilla.redhat.com/show_bug.cgi?id=2022757 Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
d56802ad50
commit
c2a28fe744
@ -93,4 +93,12 @@ touch /etc/machine-id
|
|||||||
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
# Note that running rpm recreates the rpm db files which aren't needed or wanted
|
||||||
rm -f /var/lib/rpm/__db*
|
rm -f /var/lib/rpm/__db*
|
||||||
|
|
||||||
|
# Anaconda adds console=tty0 to the grub boot line on all images. this is problematic
|
||||||
|
# when you are using fedora via serial console as you do not get any output post grub
|
||||||
|
# linux does a good job of knowing what consoles need to be enabled.
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=2022757
|
||||||
|
if [[ $arch == "aarch64" ]] || [[ $arch == "armv7l" ]]; then
|
||||||
|
sed -i -e 's|console=tty0||g' /boot/loader/entries/*conf
|
||||||
|
fi
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
Loading…
Reference in New Issue
Block a user