2021-08-04 11:05:49 +00:00
|
|
|
pkgname=msm-firmware-loader
|
2024-03-29 18:44:47 +00:00
|
|
|
pkgver=1.5.0
|
2023-01-10 10:35:55 +00:00
|
|
|
pkgrel=0
|
2021-08-04 11:05:49 +00:00
|
|
|
pkgdesc="Set of init services to automatically load firmware from device partitions"
|
|
|
|
url="https://postmarketos.org/"
|
2021-10-19 07:44:31 +00:00
|
|
|
subpackages="$pkgname-wcnss"
|
2021-08-04 11:05:49 +00:00
|
|
|
arch="armhf armv7 aarch64"
|
|
|
|
license="MIT"
|
|
|
|
install="$pkgname.post-install"
|
|
|
|
source="
|
2022-06-28 18:32:21 +00:00
|
|
|
https://gitlab.com/postmarketOS/msm-firmware-loader/-/archive/$pkgver/msm-firmware-loader-$pkgver.tar.gz
|
2021-08-04 11:05:49 +00:00
|
|
|
msm-firmware-loader.initd
|
|
|
|
msm-firmware-loader-unpack.initd
|
|
|
|
"
|
|
|
|
options="!check"
|
|
|
|
|
|
|
|
package() {
|
|
|
|
mkdir -p "$pkgdir"
|
|
|
|
|
|
|
|
install -Dm755 "$srcdir/msm-firmware-loader.initd" \
|
|
|
|
"$pkgdir/etc/init.d/msm-firmware-loader"
|
|
|
|
install -Dm755 "$srcdir/msm-firmware-loader-unpack.initd" \
|
|
|
|
"$pkgdir/etc/init.d/msm-firmware-loader-unpack"
|
|
|
|
|
|
|
|
# Create mountpoint for the scripts
|
|
|
|
mkdir -p "$pkgdir/lib/firmware/msm-firmware-loader"
|
|
|
|
|
2022-06-28 18:32:21 +00:00
|
|
|
install -Dm755 msm-firmware-loader.sh \
|
2021-08-04 11:05:49 +00:00
|
|
|
"$pkgdir/usr/sbin/msm-firmware-loader.sh"
|
2022-06-28 18:32:21 +00:00
|
|
|
install -Dm755 msm-firmware-loader-unpack.sh \
|
2021-08-04 11:05:49 +00:00
|
|
|
"$pkgdir/usr/sbin/msm-firmware-loader-unpack.sh"
|
|
|
|
}
|
|
|
|
|
2021-10-19 07:44:31 +00:00
|
|
|
wcnss() {
|
|
|
|
pkgdesc="Use WiFi/BT firmware from stock firmware partition using $pkgname"
|
2022-10-30 13:04:44 +00:00
|
|
|
provides="firmware-qcom-msm8916-wcnss=$pkgver-r$pkgrel"
|
2021-10-19 07:44:31 +00:00
|
|
|
depends="$pkgname"
|
|
|
|
|
|
|
|
# empty package, just some magic
|
|
|
|
mkdir -p "$subpkgdir"
|
|
|
|
}
|
2021-08-04 11:05:49 +00:00
|
|
|
|
|
|
|
sha512sums="
|
2024-03-29 18:44:47 +00:00
|
|
|
655fef07ad649eb77a7d5780c08f0656425ada06e21b6715b8048a31210f9f4d1c2985f56d4b5eeee8092b9aaf9a44391cb49c5206fdbfb894cd01c0de8f621d msm-firmware-loader-1.5.0.tar.gz
|
2021-08-04 11:05:49 +00:00
|
|
|
d9ad3b21564de9a4970a8923b8598fb46a54543ac9f1494676a6833800bc68c64f230737b308fec54aae09c2cf635794e8f1abc46253b0386260b4580587483d msm-firmware-loader.initd
|
|
|
|
616a28c3a65a45bb65f798989d93daacdeea08a90a9a8538b5bac2d73b2c8b135554ecaf49b4084829f88af760a144802adcd89b50f46bc267d6b04c9c733ff8 msm-firmware-loader-unpack.initd
|
|
|
|
"
|