Skip to content

Commit

Permalink
Add raspberrypi-sys-mods dependency
Browse files Browse the repository at this point in the history
Do not restart service on upgrade
  • Loading branch information
XECDesign committed Jan 23, 2017
1 parent 4b2c2c6 commit b9d9145
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 8 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
pi-bluetooth (0.1.2) jessie; urgency=medium

* Add dependency on raspberrypi-sys-mods, which must be present for
/dev/serial1 to exist
* Do not restart service on upgrade

-- Serge Schneider <[email protected]> Mon, 23 Jan 2017 13:31:12 +0000

pi-bluetooth (0.1.1) jessie; urgency=medium

* Use /dev/serial1
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ Homepage: https://github.com/RPi-Distro/rpi-bluetooth

Package: pi-bluetooth
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, bluez, bluez-firmware
Depends: ${shlibs:Depends}, ${misc:Depends}, bluez, bluez-firmware, raspberrypi-sys-mods
Description: Raspberry Pi 3 bluetooth
Loads BCM43430A1 firmware on boot
9 changes: 7 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ DPKG_EXPORT_BUILDFLAGS = 1
%:
dh $@ --with systemd

override_dh_installinit:
override_dh_systemd_enable:
dh_systemd_enable --name=hciuart
dh_installinit --name=hciuart

override_dh_installinit:
dh_installinit --name=hciuart --no-restart-on-upgrade

override_dh_systemd_start:
dh_systemd_start --name=hciuart --no-restart-on-upgrade --no-start

0 comments on commit b9d9145

Please sign in to comment.