From 5da8235b18f32ad25683d14cff1e4dfd1b286548 Mon Sep 17 00:00:00 2001 From: Panda Date: Tue, 16 Jul 2024 09:11:18 +0300 Subject: [PATCH] build: fix PKGBUILD-rk3xxx, _rkmodel was never set (#979) Code was taken from box64's PKGBUILD-rk3xxx --- pkgbuilds/PKGBUILD-rk3xxx | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgbuilds/PKGBUILD-rk3xxx b/pkgbuilds/PKGBUILD-rk3xxx index 8b5a9d6169..53dbc57dd5 100644 --- a/pkgbuilds/PKGBUILD-rk3xxx +++ b/pkgbuilds/PKGBUILD-rk3xxx @@ -13,6 +13,7 @@ provides=("${pkgname%-git}" "${pkgname%-rk3xxx-git}-git" "${pkgname%-rk3xxx-git} conflicts=("${pkgname%-git}" "${pkgname%-rk3xxx-git}-git" "${pkgname%-rk3xxx-git}") source=('git+https://github.com/ptitSeb/box86') md5sums=('SKIP') +_rkmodel=`tr -d '\0' < /proc/device-tree/compatible` pkgver() { cd "$srcdir/${pkgname%-rk3xxx-git}"