From 3d09f9c10d9070808b14205cb897462cca415467 Mon Sep 17 00:00:00 2001 From: Clayton Craft Date: Wed, 24 Mar 2021 11:57:47 -0700 Subject: [PATCH] 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 --- device/community/device-purism-librem5/APKBUILD | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/device/community/device-purism-librem5/APKBUILD b/device/community/device-purism-librem5/APKBUILD index 5290c2bdc..99800acf3 100644 --- a/device/community/device-purism-librem5/APKBUILD +++ b/device/community/device-purism-librem5/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Clayton Craft pkgname=device-purism-librem5 pkgdesc="Purism Librem 5 Phone" -pkgver=1.17 -pkgrel=1 +pkgver=1.18 +pkgrel=0 _confver=36 _purismrel=1 # . @@ -44,6 +44,7 @@ subpackages=" $pkgname-phosh $pkgname-pulseaudio $pkgname-smartcard + $pkgname-nonfree-firmware:nonfree_firmware " install="$pkgname.post-install" @@ -118,6 +119,13 @@ package() { 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 5e0536a53ba5a33af6ddff3a5f5d866c09ae54dd6754e6b17e61fde0b141b3165379a598de562c89568a1de9ae9ae03a4f876c53002b87f09d7b56013345ab27 00-mesa.sh 8b6fa7b12c15f439c561901f3ffe24a1ef2a0c343401c0a79281060854ab29e08a1fb5e7adae8684b12aa9f535ed99e2dad993dce9724822cb0fbf2497dd86e5 70-wifi-pm.rules