summaryrefslogtreecommitdiffstats
path: root/source/installer
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer')
-rw-r--r--source/installer/ChangeLog.txt6
-rwxr-xr-xsource/installer/sources/initrd/etc/rc.d/rc.S10
2 files changed, 14 insertions, 2 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index 32e5a932c..f44c31041 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,9 @@
+Tue Aug 15 19:15:38 UTC 2023
+ Don't run rc.font unless a kernel command-line flag RCFONT is provided.
+ Legacy BIOS tends to get a correct sized font without it, as does recent
+ UEFI. Running it by default with a HiDPI screen can result in an
+ unreadably small font.
++--------------------------+
Tue Aug 1 09:09:59 UTC 2023
Added /usr/lib(64)/libatomic.so for 'lsusb'
Thanks to William PC for the report.
diff --git a/source/installer/sources/initrd/etc/rc.d/rc.S b/source/installer/sources/initrd/etc/rc.d/rc.S
index 133a7bf3b..ce8c32d5c 100755
--- a/source/installer/sources/initrd/etc/rc.d/rc.S
+++ b/source/installer/sources/initrd/etc/rc.d/rc.S
@@ -182,8 +182,14 @@ rm -f /tmp/foo
echo "Activating LVM volumes:"
vgchange -ay
-if [ -x /etc/rc.d/rc.font ]; then
- /bin/sh /etc/rc.d/rc.font
+# In testing here the results of running rc.font with HiDPI screens has been
+# rather unpredicable, sometimes resulting in an unreadably small font rather
+# than increasing the size. Let's skip it unless RCFONT is passed as a kernel
+# command-line flag:
+if cat /proc/cmdline | grep -wq RCFONT ; then
+ if [ -x /etc/rc.d/rc.font ]; then
+ /bin/sh /etc/rc.d/rc.font
+ fi
fi
# Don't automatically blank the screen, or it will go black during the install