summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-12-14 17:52:23 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2015-12-14 18:19:40 +0900
commit7608e711dde800c57d5a62a4a42589785df34e72 (patch)
tree2d3f67b925bf887c01a88e4034a48aa2398ec0d2
parentfff8c4b74e588d8b2a8e14476507882a9d016f1a (diff)
downloaddefinitions-7608e711dde800c57d5a62a4a42589785df34e72.tar.gz
Fixing bluez installation
o make install with DESTDIR set o create the /lib/systemd/system/dbus-org.bluez.service symlink (without this bluez daemon fails to start while complaining that there is not such file or directory 'dbus-org.bluez.service', 'systemctl enable bluetooth' creates this symlink, though) Change-Id: I41627963f0c59176eba887ff97f13b7c450ef320
-rw-r--r--strata/audio-bluetooth/bluez.morph3
1 files changed, 2 insertions, 1 deletions
diff --git a/strata/audio-bluetooth/bluez.morph b/strata/audio-bluetooth/bluez.morph
index 1395b98d..f27fcf1c 100644
--- a/strata/audio-bluetooth/bluez.morph
+++ b/strata/audio-bluetooth/bluez.morph
@@ -7,6 +7,7 @@ configure-commands:
- ./configure --prefix="$PREFIX" --enable-tools --enable-test --enable-alsa --enable-library
--with-telephony=ofono --sysconfdir=/etc --localstatedir=/var --libexecdir=/lib
install-commands:
-- make install
+- make DESTDIR="$DESTDIR" install
- mkdir -p "$DESTDIR/etc/systemd/system/bluetooth.target.wants"
- ln -s /lib/systemd/system/bluetooth.service "$DESTDIR/etc/systemd/system/bluetooth.target.wants/bluetooth.service"
+- ln -s /lib/systemd/system/bluetooth.service "$DESTDIR/etc/systemd/system/dbus-org.bluez.service"