firmware-samsung-pxa1908: split downstream wifi-enablement to subpackage (MR 5295)
Resolves this harmless, but annoying error on mainline: * Enabling wlan driver ... /lib/rc/sh/openrc-run.sh: line 14: can't create /sys/devices/platform/sd8x-rfkill/pwr_ctrl: nonexistent directory * ERROR: sd8x-wlan failed to start [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
f49dc9b38f
commit
395bbb99cc
3 changed files with 13 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
|||
pkgname=device-samsung-coreprimevelte-downstream
|
||||
pkgdesc="Samsung Galaxy Core Prime VE LTE downstream"
|
||||
pkgver=1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -25,7 +25,7 @@ package() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Wi-Fi firmware"
|
||||
depends="firmware-samsung-pxa1908"
|
||||
depends="firmware-samsung-pxa1908-downstream"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=device-samsung-xcover3lte
|
||||
pkgdesc="Samsung Galaxy Xcover 3"
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -31,7 +31,7 @@ package() {
|
|||
|
||||
nonfree_firmware() {
|
||||
pkgdesc="Non-free firmware for the Samsung Galaxy Xcover 3"
|
||||
depends="firmware-samsung-pxa1908"
|
||||
depends="firmware-samsung-pxa1908-downstream"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
pkgname=firmware-samsung-pxa1908
|
||||
pkgver=2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Firmware for Samsung PXA1908 devices"
|
||||
url="https://postmarketos.org"
|
||||
arch="aarch64"
|
||||
|
@ -15,6 +15,7 @@ source="
|
|||
"
|
||||
_files="sd8777_uapsta.bin WlanCalData_ext.conf txpwrlimit_cfg.bin bt_cal_data.conf"
|
||||
builddir="$srcdir/$_repo-$_commit"
|
||||
subpackages="$pkgname-downstream:downstream"
|
||||
|
||||
package() {
|
||||
cd proprietary/etc/firmware/mrvl/
|
||||
|
@ -23,8 +24,14 @@ package() {
|
|||
install -Dm644 "$_i" \
|
||||
-t "$pkgdir/lib/firmware/postmarketos/mrvl"
|
||||
done
|
||||
}
|
||||
|
||||
install -Dm755 "$srcdir"/sd8x-wlan.initd "$pkgdir"/etc/init.d/sd8x-wlan
|
||||
downstream() {
|
||||
pkgdesc="OpenRC service for enabling WLAN on downstream kernels"
|
||||
depends="$pkgname"
|
||||
|
||||
mkdir "$subpkgdir"
|
||||
install -Dm755 "$srcdir"/sd8x-wlan.initd "$subpkgdir"/etc/init.d/sd8x-wlan
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
|
|
Loading…
Reference in a new issue