• Caleb Connolly's avatar
    postmarketos-mkinitfs: fix charging-sdl for kmsdrm devices (MR 2098) · 34623c4a
    Caleb Connolly authored and Alexey Min's avatar Alexey Min committed
    This fix was pending since before charging-sdl was deprecated and still
    provides value should anyone wish to pickup and improve charging-sdl
    again.
    
    charging-sdl currently does not check for devices using mesa, even
    though it supports it in the same way as osk-sdl. Check for msa support
    and set SDL_VIDEODRIVER in that case.
    
    Also fix the font path, as it was reading both keyboard-font and
    keyboard-font-size from osk.conf.
    34623c4a
init_functions.sh 19.2 KB