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 <kevin.thierry@open.eurogiciel.org>
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
+}