Moves the remaining init.d and conf.d files into the OpenRC subpackages. Most of these issues were caused by wrongly reimplementing the default_openrc function, which can be caught in the future with https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4643. This commit also makes some very minor cleanup of APKBUILDs if it made sense while fixing the subpackages. [ci:skip-grep] Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8871>
20 lines
649 B
Text
20 lines
649 B
Text
maintainer="Ignacy Kuchciński <ignacykuchcinski@gmail.com>"
|
|
pkgname=hisi-wlan
|
|
pkgver=4
|
|
pkgrel=0
|
|
pkgdesc="Init script for enabling hisi wlan driver (downstream Android kernels)"
|
|
url="https://gitlab.postmarketos.org/postmarketOS/pmaports"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
subpackages="$pkgname-openrc"
|
|
source="$pkgname.initd"
|
|
install="$pkgname-openrc.post-install"
|
|
options="!check" # No tests
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/hisi-wlan
|
|
}
|
|
|
|
sha512sums="
|
|
752c7d7e12e73b8933f36046e878e81fd4717814144dff14289fd4b4b8ae1949aeff14daa078841d07827a5afc158179692dbfe9d508f3c317d4fa1dfa1a720b hisi-wlan.initd
|
|
"
|