soc-mediatek-mt8183: add symlink to scp.img (MR 4094)

Add symlink to the place where kernel expects it to be

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Anton Bambura 2023-05-18 15:13:15 +03:00 committed by Oliver Smith
parent 68a3bf8610
commit 8e3cc49cfe
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -2,14 +2,17 @@
# Co-Maintainer: Jenneron <jenneron@protonmail.com>
pkgname=soc-mediatek-mt8183
pkgdesc="Common package for Mediatek MT8183 devices"
pkgver=1
pkgver=2
pkgrel=0
url="https://postmarketos.org"
license="BSD-3-Clause"
arch="aarch64"
options="!check !archcheck"
depends="soc-qcom-msm8916"
subpackages="$pkgname-x11"
subpackages="
$pkgname-firmware
$pkgname-x11
"
source="
xorg.conf.d/11-modesetting.conf
xorg.conf.d/13-panfrost-swapped-dri-nodes.conf
@ -19,6 +22,14 @@ package() {
mkdir -p "$pkgdir"
}
firmware() {
install_if="$pkgname=$pkgver-r$pkgrel linux-firmware-mediatek"
mkdir -p "$subpkgdir"/lib/firmware
ln -s /lib/firmware/mediatek/mt8183/scp.img \
"$subpkgdir"/lib/firmware/scp.img
}
x11() {
install_if="$pkgname xorg-server"