soc-qcom-msm8953: add initramfs package (MR 4432)

It add firmwares to initramfs.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Barnabás Czémán 2023-09-19 22:20:43 +02:00 committed by Pablo Correa Gómez
parent 7d86ad96a5
commit d56b851aea
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,5 @@
/lib/firmware/qcom/a530_pfp.fw
/lib/firmware/qcom/a530_pm4.fw
/lib/firmware/postmarketos/a506_zap.mdt
/lib/firmware/postmarketos/a506_zap.b02

View file

@ -9,6 +9,7 @@ arch="aarch64"
options="!check !archcheck !tracedeps pmb:cross-native"
depends="$pkgname-ucm swclock-offset"
subpackages="
$pkgname-initramfs
$pkgname-modem
$pkgname-ucm
"
@ -18,6 +19,7 @@ source="
$pkgname-$_ucm_commit.tar.gz::https://github.com/msm8953-mainline/alsa-ucm-conf/archive/$_ucm_commit.tar.gz
90-feedbackd-pm8xxx-vib.rules
q6voiced.conf
00-firmware.files
"
package() {
@ -34,6 +36,10 @@ ucm() {
cp -r ucm2 "$subpkgdir"/usr/share/alsa
}
initramfs() {
install -Dm644 "$srcdir"/00-firmware.files -t "$subpkgdir"/usr/share/mkinitfs/files
}
modem() {
depends="
msm-modem-uim-selection
@ -51,4 +57,5 @@ sha512sums="
03423f1247eafeb46f2c5e8e1c7bf29b3f6302d10f8acf8be962e34ecf1d6d812acf9d15147f47397a00d1661052aa45276155bc40ce9a8734076497d8b75142 soc-qcom-msm8953-01b9629916bd51e47481b97a29a0078bb6a72aec.tar.gz
90fca4a3291a2c84c0b20e41308c4698374ba896e9365ca80dbfd0c0c4f7dc08317f3dd865a3c7f6707c81b02f5bb24136d1172253d2e4fdd50039bbbf02a178 90-feedbackd-pm8xxx-vib.rules
3a4a9322839d4b3ef9d79668a37840a9f444954759ae3c512e694051d2f9a2573db42ad6c4c1a5c75eeb861232a27ba1a8cef9b503decd54ead25a96e3dd6f98 q6voiced.conf
23cff3b1796fc61fb494cf6ad7e25ca968dd6eb55ccd17d303c354d7a1638b25d7f152feb973b130d74cfcea2cb6aed45dfe3843ae491ffad1440fcf35389284 00-firmware.files
"