main/msm-firmware-loader: add dummy wcnss subpackage (MR 2619)

firmware-qcom-msm8916-wcnss is a virtual package used for MSM8916
devices without secure boot (i.e. device that do not require signed
firmware). For those it's best to install more recent firmware by
default rather than using the firmware on the firmware partition.

firmware-qcom-msm8916-wcnss is provided by firmware-qcom-db410c-wcnss
by default, however it's still useful to make it possible to switch to
the stock firmware on the firmware partition if needed. To allow that,
add a dummy msm-firmware-loader-wcnss package that provides the virtual
package using the msm-firmware-loader.

  # apk add msm-firmware-loader-wcnss
  (1/2) Purging firmware-qcom-db410c-wcnss (1034.2.1-r2)
  (2/2) Installing msm-firmware-loader-wcnss (1-r1)
This commit is contained in:
Minecrell 2021-10-19 09:44:31 +02:00 committed by Clayton Craft
parent 1d923c2aeb
commit ae715e09fa
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54

View file

@ -1,8 +1,9 @@
pkgname=msm-firmware-loader
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Set of init services to automatically load firmware from device partitions"
url="https://postmarketos.org/"
subpackages="$pkgname-wcnss"
arch="armhf armv7 aarch64"
license="MIT"
install="$pkgname.post-install"
@ -31,6 +32,14 @@ package() {
"$pkgdir/usr/sbin/msm-firmware-loader-unpack.sh"
}
wcnss() {
pkgdesc="Use WiFi/BT firmware from stock firmware partition using $pkgname"
provides="firmware-qcom-msm8916-wcnss"
depends="$pkgname"
# empty package, just some magic
mkdir -p "$subpkgdir"
}
sha512sums="
ce6d8a072673bcdf6a3b24455d690291c87046802a460742271c2465db3326a09792b7c0c3e07d3e741b75cc34a5e416a64899153a0b920149e70718d0188761 msm-firmware-loader.sh