pmaports/device/bluetooth-raspberry-pi/pi-bluetooth.openrc
Oliver Smith 9c777b2a6a device-raspberry-pi: use linux-firmware-brcm (#1583)
Alpine's firmware packages have been updated to include the latest
raspberry pi firmware. This commit adjusts our aports.

Details:
* remove obsolete `aports/temp/linux-firmware`
* `firmware/firmware-pi-bluetooth`: rename to `device/bluetooth-raspberry-pi`
  and remove firmware files (they are part of Alpine's `linux-firmware` now)
* `device-raspberry-pi`: depend on `bluetooth-raspberry-pi`
* `device-raspberry-pi`: note that Alpine's kernels depend non free firmware
* `device-raspberry-pi`: remove non free firmware subpackage
2018-06-27 22:18:34 +00:00

12 lines
221 B
Text
Executable file

#!/sbin/openrc-run
command="/usr/bin/hciattach"
command_args="-n /dev/ttyAMA0 bcm43xx 115200 noflow -"
command_background=true
pidfile="/run/hciattach.pid"
depend() {
before bluetooth
after modules
need localmount
}