slackware-current/source/installer/sources/initrd/etc/rc.d/rc.font
Patrick J Volkerding 7dba81f6b7 Wed Jul 25 03:50:17 UTC 2018
a/kernel-generic-4.14.57-x86_64-1.txz:  Upgraded.
a/kernel-huge-4.14.57-x86_64-1.txz:  Upgraded.
a/kernel-modules-4.14.57-x86_64-1.txz:  Upgraded.
a/shadow-4.2.1-x86_64-5.txz:  Rebuilt.
  adduser: added "input" to additional user groups. Thanks to stormtracknole.
a/sysvinit-scripts-2.1-noarch-14.txz:  Rebuilt.
  Handle remote (NFS, etc.) mounts with spaces in the name. Thanks to upnort.
d/kernel-headers-4.14.57-x86-1.txz:  Upgraded.
d/parallel-20180722-noarch-1.txz:  Upgraded.
d/rust-1.27.2-x86_64-1.txz:  Upgraded.
d/subversion-1.10.2-x86_64-1.txz:  Upgraded.
k/kernel-source-4.14.57-noarch-1.txz:  Upgraded.
l/libgphoto2-2.5.19-x86_64-1.txz:  Upgraded.
l/libzip-1.5.1-x86_64-4.txz:  Rebuilt.
  Make sure that the API-CHANGES file is included in the package documentation.
x/xf86-video-r128-6.11.0-x86_64-1.txz:  Upgraded.
x/xorg-server-1.20.0-x86_64-3.txz:  Rebuilt.
  Applied some patches that other distributions have been using for a while:
  Fix glamor so that the return value from glamor_fds_from_pixmap matches
  what's expected (thanks to Darth Vader for pointing out these patches).
  Autobind secondary GPUs to the master as output sink / offload source. This
  seems like a beneficial patch until/unless DEs start to handle this.
  For nvidia cards, if they are GeForce 8 or newer use the modesetting driver
  by default. Seems to be recommmended by upstream where they indicate that
  fixes going into nouveau are primarily to target older cards for legacy
  support and that the modesetting ddx is preferable for newer ones:
    https://bugs.freedesktop.org/show_bug.cgi?id=94844
x/xorg-server-xephyr-1.20.0-x86_64-3.txz:  Rebuilt.
x/xorg-server-xnest-1.20.0-x86_64-3.txz:  Rebuilt.
x/xorg-server-xvfb-1.20.0-x86_64-3.txz:  Rebuilt.
isolinux/initrd.img:  Rebuilt.
  Use ter-v14v.psf.gz as the consolefont. It supports more character sets, and
  the larger font was causing wraparound on UEFI (at least on bare metal here).
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2018-07-25 13:47:10 +02:00

48 lines
1.4 KiB
Bash
Executable file

#!/bin/sh
# Load terminus font. This is either to resize the terminal to be close to default,
# or to simply load a better looking font for the installer.
# In case udev has not yet prepared the tty devices, create them:
create_tty() {
if [ ! -r /dev/tty1 ]; then
mknod /dev/tty1 c 4 1
chown root:tty /dev/tty1
chmod 620 /dev/tty1
fi
if [ ! -r /dev/tty2 ]; then
mknod /dev/tty2 c 4 2
chown root:tty /dev/tty2
chmod 620 /dev/tty2
fi
if [ ! -r /dev/tty3 ]; then
mknod /dev/tty3 c 4 3
chown root:tty /dev/tty3
chmod 620 /dev/tty3
fi
if [ ! -r /dev/tty4 ]; then
mknod /dev/tty4 c 4 4
chown root:tty /dev/tty4
chmod 620 /dev/tty4
fi
}
if ! grep -wq nofont /proc/cmdline ; then
# Commented out this next section because it leads to too big a font on a UEFI
# framebuffer. It's possible that it would be a correct font for other fb
# console types, but it's just safer to go with the smaller choice.
# if [ ! "$(cat /proc/fb)" = "" ] ; then
# if [ -r /usr/share/kbd/consolefonts/ter-120b.psf.gz ]; then
# create_tty
# for tty in /dev/tty{1,2,3,4} ; do
# setfont -C $tty /usr/share/kbd/consolefonts/ter-120b.psf.gz
# done
# fi
# else
if [ -r /usr/share/kbd/consolefonts/ter-v14v.psf.gz ]; then
create_tty
for tty in /dev/tty{1,2,3,4} ; do
setfont -C $tty /usr/share/kbd/consolefonts/ter-v14v.psf.gz
done
fi
# fi
fi