Changeset 54c0a86 for chapter09

Timestamp:
08/23/2024 11:36:09 AM (4 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, multilib, trunk, xry111/arm64, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib
Children:
872a378, 993a789, ae7b9ed
Parents:
db7bf1f
git-author:
Xi Ruoyao <xry111@…> (08/23/2024 11:23:13 AM)
git-committer:
Xi Ruoyao <xry111@…> (08/23/2024 11:36:09 AM)
Message:

bootscripts: console: Fix fb console detection

If CONFIG_FB is not set but CONFIG_DRM_FBDEV_EMULATION is set to y, on a
DRM-drived graphic card (anything from AMD/ATI, Intel, or NVIDIA in
recent 20 years) we'd be using a fb console but without
/sys/class/graphics/fb0. Then the script won't run setfont for VT 2-6.

Check /sys/class/graphics/fbcon instead of /sys/class/graphics/fb0 to
fix the issue.

Closes: https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2024-08/msg00001.html
Reported-by: Alan Ianson <agianson@…>

(No files)

Note: See TracChangeset for help on using the changeset viewer.