lfs/bootscripts/lfs/init.d
Xi Ruoyao 54c0a86cd0
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@gmail.com>
2024-08-23 19:36:09 +08:00
..
checkfs bootscripts: change "halt stop" to "halt start" 2023-10-04 15:52:42 +02:00
cleanfs bootscripts: change obsoleted egrep to grep -E 2022-06-23 18:12:37 +08:00
console bootscripts: console: Fix fb console detection 2024-08-23 19:36:09 +08:00
halt New semantics for S/K files in boot scripts 2022-03-25 10:52:17 +01:00
localnet Fix bootscript headers. 2019-09-08 19:03:52 +00:00
modules bootscripts: change obsoleted egrep to grep -E 2022-06-23 18:12:37 +08:00
mountfs Typos reported by "rhubarbpieguy" 2022-10-02 09:49:12 +02:00
mountvirtfs bootscripts: Add -n to the ln command, for recreating /dev/fd correctly if the initramfs has already created one 2024-07-18 11:13:23 +08:00
network network bootscript: Don't run ifup if route already set 2022-03-25 10:52:34 +01:00
rc Typos reported by "rhubarbpieguy" 2022-10-02 09:49:12 +02:00
reboot New semantics for S/K files in boot scripts 2022-03-25 10:52:17 +01:00
sendsignals Avoid killing mdmon at shutdown/reboot 2021-06-02 22:12:59 +02:00
setclock Remove spaces at end of lines - bootscripts 2021-09-07 23:01:23 +02:00
swap init.d/swap: you can't mount a swap partition 2022-09-25 13:36:11 +08:00
sysctl Update to LFS-Bootscripts-20190902 2019-09-02 08:53:46 +00:00
sysklogd Tweak sysklogd bootscript for latest version. 2024-06-30 14:51:53 -05:00
template Typos reported by "rhubarbpieguy" 2022-10-02 09:49:12 +02:00
udev bootscripts: change "halt stop" to "halt start" 2023-10-04 15:52:42 +02:00
udev_retry bootscripts: Use /bin/udevadm instead of /sbin/udevadm 2023-07-16 10:04:12 +08:00