bluetooth-frwk: remove failing vconftool commands 51/25851/3
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 07:40:26 +0000 (09:40 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 08:19:13 +0000 (10:19 +0200)
In the postinst script, some of the vconftool commands fail to execute
which prevents the image to be built. As a TEMPORARY WORKAROUND the
failing command is removed. This patch will need to be reverted as soon
as this issue has been properly corrected.

Bug-Tizen: BTY-26
Change-Id: Iaceb68a1bca8c15ca0782a10280eaf7eb3921d90
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/bluetooth-frwk/bluetooth-frwk-extraconf.inc

index e69de29..0d57bea 100644 (file)
@@ -0,0 +1,11 @@
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    [ "x\$D" == "x" ] && 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
+    # Temporary workaround needed to generate the image
+    #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
+}