From 7608e711dde800c57d5a62a4a42589785df34e72 Mon Sep 17 00:00:00 2001 From: Tristan Van Berkom Date: Mon, 14 Dec 2015 17:52:23 +0900 Subject: 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 --- strata/audio-bluetooth/bluez.morph | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- cgit v1.2.1