bluetooth-raspberry-pi: move openrc scripts to subpackage (MR 5688)
This commit is contained in:
parent
bbbf3a1062
commit
02066257eb
2 changed files with 9 additions and 2 deletions
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
pkgname=bluetooth-raspberry-pi
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Service and udev rule for built-in bluetooth on Raspberry Pi zero w, 3B, 3B plus"
|
||||
url="https://github.com/RPi-Distro/bluez-firmware"
|
||||
arch="armhf aarch64"
|
||||
license="MIT"
|
||||
depends="bluez bluez-deprecated"
|
||||
install="$pkgname.post-install"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="pi-bluetooth.openrc 50-bluetooth-hci-auto-poweron.rules"
|
||||
options="!check !archcheck"
|
||||
|
||||
|
|
@ -18,5 +18,12 @@ package() {
|
|||
install -Dm755 pi-bluetooth.openrc "$pkgdir"/etc/init.d/pi-bluetooth
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install"
|
||||
|
||||
default_openrc
|
||||
}
|
||||
|
||||
sha512sums="34a50554466dd6096cbee9b14fc0d77b268b731cd45981e69394343dad25d6006dbe44bee30700d71b80c593d38699dfc870983ae7d862b9c09afb39c5d3b383 pi-bluetooth.openrc
|
||||
511281ae8cbebd4390836ba83049a7fb793121d60ebd6c436bf36330e0aab738a827daf7fd6721cc71681e72b7ddaa581814264cc3bf759f07148fe5b657b981 50-bluetooth-hci-auto-poweron.rules"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue