From: Kévin THIERRY Date: Mon, 11 Aug 2014 07:41:42 +0000 (+0200) Subject: meta-tizen: media-server: remove failing vconftool commands X-Git-Tag: rev_ivi_2015_02_04~357 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b53c440bfa5b82e95b01c3cfb7997cfa84d54ce8;p=scm%2Fbb%2Ftizen-distro.git meta-tizen: media-server: remove failing vconftool commands 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 (From meta-tizen rev: 6b6a138068193b2d99dd7c1965c1532070e35e32) Signed-off-by: Kévin THIERRY Signed-off-by: Patrick Ohly --- diff --git a/meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc b/meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc index 0c02628..46847c8 100644 --- a/meta-tizen/recipes-tizen/media-server/media-server-extraconf.inc +++ b/meta-tizen/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 +}