firmware-samsung-pxa1908: only enable service if downstream (MR 5296)
I made an oversight in pmaports!5295 which caused the post-install script to try enabling the sd8x-wlan service even if the downstream subpackage isn't installed. This causes errors when creating a new mainline rootfs, so fix it by moving the install variable declaration to the subpackage function.
This commit is contained in:
parent
92527d8432
commit
86c0223e69
2 changed files with 2 additions and 2 deletions
|
@ -1,12 +1,11 @@
|
|||
pkgname=firmware-samsung-pxa1908
|
||||
pkgver=2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Firmware for Samsung PXA1908 devices"
|
||||
url="https://postmarketos.org"
|
||||
arch="aarch64"
|
||||
license="proprietary"
|
||||
options="!strip !check !archcheck !spdx pmb:cross-native !tracedeps"
|
||||
install="$pkgname.post-install"
|
||||
_repo="android_vendor_samsung_xcover3lte"
|
||||
_commit="6e324b43b32dc607327d89148dd5d83a14429ee6"
|
||||
source="
|
||||
|
@ -29,6 +28,7 @@ package() {
|
|||
downstream() {
|
||||
pkgdesc="OpenRC service for enabling WLAN on downstream kernels"
|
||||
depends="$pkgname"
|
||||
install="$subpkgname.post-install"
|
||||
|
||||
mkdir "$subpkgdir"
|
||||
install -Dm755 "$srcdir"/sd8x-wlan.initd "$subpkgdir"/etc/init.d/sd8x-wlan
|
||||
|
|
Loading…
Reference in a new issue