device-purism-librem5: add nonfree subpackage w/ wifi/bt firmware (MR 2059)

Workaround for https://source.puri.sm/Librem5/linux-next/-/issues/290

This requires a kernel with the flash mode *disabled* in the Redpine
RS911x driver.

[ci:skip-build] already passed CI
This commit is contained in:
Clayton Craft 2021-03-24 11:57:47 -07:00 committed by Dylan Van Assche
parent ddf56b5169
commit 3d09f9c10d
No known key found for this signature in database
GPG key ID: 8642571587897EA1

View file

@ -2,8 +2,8 @@
# Maintainer: Clayton Craft <clayton@craftyguy.net> # Maintainer: Clayton Craft <clayton@craftyguy.net>
pkgname=device-purism-librem5 pkgname=device-purism-librem5
pkgdesc="Purism Librem 5 Phone" pkgdesc="Purism Librem 5 Phone"
pkgver=1.17 pkgver=1.18
pkgrel=1 pkgrel=0
_confver=36 _confver=36
_purismrel=1 _purismrel=1
# <librem5-base ver>.<purism release> # <librem5-base ver>.<purism release>
@ -44,6 +44,7 @@ subpackages="
$pkgname-phosh $pkgname-phosh
$pkgname-pulseaudio $pkgname-pulseaudio
$pkgname-smartcard $pkgname-smartcard
$pkgname-nonfree-firmware:nonfree_firmware
" "
install="$pkgname.post-install" install="$pkgname.post-install"
@ -118,6 +119,13 @@ package() {
devicepkg_package $startdir $pkgname devicepkg_package $startdir $pkgname
} }
nonfree_firmware() {
pkgdesc="Wifi and Bluetooth firmware"
depends="firmware-siliconlabs-rs9116"
mkdir "$subpkgdir"
}
sha512sums="ef2cce6de4e85b14b4a7dee7fe8175d6ca455db38bfe4453b390ac15ad51240dec583837a8428532db4d99a6cfb060b703a3986584bfedd0f2d44444d2a1c1c1 librem5-base-pureos-36pureos1.tar.gz sha512sums="ef2cce6de4e85b14b4a7dee7fe8175d6ca455db38bfe4453b390ac15ad51240dec583837a8428532db4d99a6cfb060b703a3986584bfedd0f2d44444d2a1c1c1 librem5-base-pureos-36pureos1.tar.gz
5e0536a53ba5a33af6ddff3a5f5d866c09ae54dd6754e6b17e61fde0b141b3165379a598de562c89568a1de9ae9ae03a4f876c53002b87f09d7b56013345ab27 00-mesa.sh 5e0536a53ba5a33af6ddff3a5f5d866c09ae54dd6754e6b17e61fde0b141b3165379a598de562c89568a1de9ae9ae03a4f876c53002b87f09d7b56013345ab27 00-mesa.sh
8b6fa7b12c15f439c561901f3ffe24a1ef2a0c343401c0a79281060854ab29e08a1fb5e7adae8684b12aa9f535ed99e2dad993dce9724822cb0fbf2497dd86e5 70-wifi-pm.rules 8b6fa7b12c15f439c561901f3ffe24a1ef2a0c343401c0a79281060854ab29e08a1fb5e7adae8684b12aa9f535ed99e2dad993dce9724822cb0fbf2497dd86e5 70-wifi-pm.rules