diff options
Diffstat (limited to 'meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc')
-rw-r--r-- | meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc b/meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc new file mode 100644 index 0000000..abc8292 --- /dev/null +++ b/meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc @@ -0,0 +1,28 @@ +SRC_URI_append_class-native = " file://remove-dlog-for-native.patch \ + " +SRC_URI_append = " file://0002_compiler_changes.patch \ + " + +RDEPENDS_${PN}_remove_class-native = "glibc-native" +RDEPENDS_${PN}_remove_class-native = "systemd-native" +DEPENDS_remove_class-native = "dlog-native" + +DEPENDS_class-target += "glib-2.0" +DEPENDS_class-target += "vconf-native" +DEPENDS_class-target += "vconf-internal-keys" +DEPENDS_class-target += "dlog" + +do_install_append_class-native() { + sed -i "s@source /etc/tizen-platform.conf@source ${sysconfdir}/tizen-platform.conf@g" ${D}${prefix}/bin/vconf-init +} + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + [ "x\$D" == "x" ] && systemctl daemon-reload + chsmack -a 'User' $D${prefix}/kdb + chsmack -a 'User' $D${prefix}/kdb/db + chsmack -a 'User' $D${prefix}/kdb/db/.backup + +} |