I understand the patch, and it makes sense, I just cannot hit that part
of the code in my testing.

We only get there if $FONT is defined:

# FONTFILES
FONTFILES=''
if [ "$FONT" ]; then
    for f in $FONT; do
        RES=`findfile $fontdir $f`
        if [ -z "$RES" ]; then
            fdec="${f%.gz}"
            RES=`findfile $fontdir $fdec`
        fi
        FONTFILES="$FONTFILES $RES"
    done
fi


Nothing in the setupcon script defines FONT, where does it come from? 
Environment? Could you share a bit more on how you hit this problem? I'm not 
that familiar with console fonts, sorry if this is obvious.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2086110

Title:
  setupcon fails to set console font in 24.04 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/console-setup/+bug/2086110/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to