[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861454: console-setup: Have to use setupcon at every boot



On Sat 29 Apr 2017 at 17:02:21 +0300, Anton Zinoviev wrote:

> On Sat, Apr 29, 2017 at 11:32:13AM +0100, Brian Potkin wrote:
> > 
> > Debian (i386) was installed without tasksel's  extra software using the
> > RC3 Stretch installer. 'dpkg-reconfigure console-setup' was run after
> > the first boot to give
> > 
> > CODESET="Lat15"
> > FONTFACE="TerminusBold"
> > FONTSIZE="11x22"
> > 
> > in /etc/default/console-setup.
> 
> What about /etc/console-setup/cached_setup_font.sh?

root@cupsexp:~# cat /etc/console-setup/cached_setup_font.sh

#!/bin/sh

setfont '/etc/console-setup/cached_Lat15-TerminusBold22x11.psf.gz'

if ls /dev/fb* >/dev/null 2>/dev/null; then
    for i in /dev/vcs[0-9]*; do
        { :
            setfont '/etc/console-setup/cached_Lat15-TerminusBold22x11.psf.gz'
        } < /dev/tty${i#/dev/vcs} > /dev/tty${i#/dev/vcs}
    done
fi

mkdir -p /run/console-setup
> /run/console-setup/font-loaded
for i in /dev/vcs[0-9]*; do
    { :
printf '\033%%G'
    } < /dev/tty${i#/dev/vcs} > /dev/tty${i#/dev/vcs}
done

> Something unusual about the kernel?  Read-only file systems?  With or 
> without systemd?

Apart from configuring the console font (and installing gpm and less)
the system is as described earlier - a minimal installation without
the standard utilities or a DE.

Yes, it has systemd. However, I note that the one unstable machine I
have with sysvinit does not exhibit this issue.

-- 
Brian.


Reply to: