From 5f30a13fc4d1a4b62e417e3594342326f384beb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Bollo?= Date: Mon, 8 Dec 2014 12:06:32 +0100 Subject: [PATCH] packaging: improvement of dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I27ff5f634eb6f1f25128efaaef09603ef1e0961d Signed-off-by: José Bollo --- packaging/bluetooth-frwk.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packaging/bluetooth-frwk.spec b/packaging/bluetooth-frwk.spec index 7835ebd..4ff60c3 100644 --- a/packaging/bluetooth-frwk.spec +++ b/packaging/bluetooth-frwk.spec @@ -41,7 +41,7 @@ BuildRequires: pkgconfig(security-server) BuildRequires: cmake BuildRequires: pkgconfig(libtzplatform-config) -Requires(post): vconf +Requires(post): /usr/bin/vconftool Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -128,11 +128,11 @@ sed -i 's/%TZ_SYS_DEFAULT_USER/app/' %{buildroot}%{_datadir}/dbus-1/system-servi %post /sbin/ldconfig -vconftool set -tf int db/bluetooth/status "0" -g 6520 -vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i -vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i -vconftool set -tf int memory/bluetooth/device "0" -g 6520 -i -vconftool set -tf int memory/bluetooth/btsco "0" -g 6520 -i +vconftool set -f -t int db/bluetooth/status "0" -g 6520 +vconftool set -f -t int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i +vconftool set -f -t string memory/bluetooth/sco_headset_name "" -g 6520 -i +vconftool set -f -t int memory/bluetooth/device "0" -g 6520 -i +vconftool set -f -t int memory/bluetooth/btsco "0" -g 6520 -i # set 'User' smack label to vconf keys in order to allow bt-service to access them. chsmack -a 'User' %TZ_SYS_CONFIG/db/bluetooth/status chsmack -a 'User' %TZ_SYS_CONFIG/file/private/bt-service/flight_mode_deactivated -- 2.7.4