main/osk-sdl: use source_deviceinfo from init_functions.sh (MR 4037)

The osk-sdl runs on the initramfs, so this should be no issue
This commit is contained in:
Pablo Correa Gómez 2023-04-24 23:06:01 +02:00
parent 3c3ef48600
commit 38659e07ff
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 5 additions and 4 deletions
main/osk-sdl

View file

@ -5,7 +5,7 @@
# https://gitlab.alpinelinux.org/alpine/apk-tools/-/issues/10712
pkgname=osk-sdl
pkgver=0.67.1
pkgrel=2
pkgrel=3
pkgdesc="Onscreen keyboard for unlocking LUKS devices"
url="https://gitlab.com/postmarketOS/osk-sdl"
arch="all"
@ -60,6 +60,6 @@ package() {
sha512sums="
d699069b7acc1af9ade87ba01b3c2e8e9556bf762ea95b8379ebc7309fcb14ce7972d1563b599dd72068d50ebac039304089fdeb3a2c7972c84c2abe94853098 osk-sdl-0.67.1.tar.gz
e1017bc0667756b82527d88f47a77e2f5a44e0769b5ccdea0c6c1f86bd3d0a1df9d9f5bbb224888748cfef5edc3375036a25099eb02c963302f155c3b2e8fefd osk-sdl.files
9d4e92ce0fa8a6bb3da20b55cda59b74c40efa4a93f1bf40b520ad071d74dbeac8165891acad933d943035e2bbc0fd2c1349b3c768139e3612835e58fdaba444 unlock.sh
5714849c66a3c9de0c20cec32ebe23867ccc80256599f351ba3b67b153a55b1c22c5a39ca2c403ea5fca46f1e1b9ffa2b80f8d9c0be79578acd6df501ebe3d4c unlock.sh
b4dfd5030603e35553dadb5617d27f4fbf1101daafee2cdc9ccff6e7570b5c853abee98c627fbd37927b2f6e10ebc1a5e0de20e8a61cd97b2c573a7a81447236 set-font.patch
"

View file

@ -1,8 +1,9 @@
#!/bin/sh
# shellcheck disable=SC1091
partition=$1
. /etc/deviceinfo
# shellcheck disable=SC1091
. ./init_functions.sh
source_deviceinfo
# $1: SDL_VIDEODRIVER value (e.g. 'kmsdrm', 'directfb')
run_osk_sdl() {