From 6b6a138068193b2d99dd7c1965c1532070e35e32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Mon, 11 Aug 2014 09:41:42 +0200 Subject: [PATCH] media-server: remove failing vconftool commands MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-25 Change-Id: I9e223f478345f4deca7c4c093986dc8f40029d69 Signed-off-by: Kévin THIERRY --- recipes-tizen/media-server/media-server-extraconf.inc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/recipes-tizen/media-server/media-server-extraconf.inc b/recipes-tizen/media-server/media-server-extraconf.inc index 0c02628..46847c8 100644 --- a/recipes-tizen/media-server/media-server-extraconf.inc +++ b/recipes-tizen/media-server/media-server-extraconf.inc @@ -1,7 +1,18 @@ SRC_URI += "file://Makefile.am.diff" do_install_append() { - rm -fr ${D}/etc + rm -fr ${D}/etc +} +pkg_postinst_${PN}() { + #!/bin/sh -e -} \ No newline at end of file + vconftool set -t int db/filemanager/dbupdate "1" -f + # Temporary workaround needed to generate the image + #vconftool set -t int memory/filemanager/Mmc "0" -i -f + #vconftool set -t string db/private/mediaserver/mmc_info "" -f + vconftool set -t int file/private/mediaserver/scan_internal "1" -f + vconftool set -t int file/private/mediaserver/scan_directory "1" -f + chgrp users $D${prefix}/bin/media-data-sdk_create_db.sh + chgrp -R users $D${prefix}/data/data-media +} -- 2.7.4