48f533fbdaf45bffc310a82569a90c711326dc57
[scm/bb/meta-tizen.git] / meta-tizen-common-base / recipes-application-framework / vconf / vconf-extraconf.inc
1 SRC_URI_append_class-native = " file://remove-dlog-for-native.patch"
2
3 RDEPENDS_${PN}_remove_class-native = "glibc-native"
4 RDEPENDS_${PN}_remove_class-native = "systemd-native"
5 DEPENDS_remove_class-native = "dlog-native"
6
7 DEPENDS_class-target += "glib-2.0"
8 DEPENDS_class-target += "vconf-native"
9 DEPENDS_class-target += "vconf-internal-keys"
10 DEPENDS_class-target += "dlog"
11
12 do_install_append_class-native() {
13  sed -i "s@source /etc/tizen-platform.conf@source ${sysconfdir}/tizen-platform.conf@g" ${D}${prefix}/bin/vconf-init
14 }
15
16 pkg_postinst_${PN}() {
17     #!/bin/sh -e
18
19     [ "x\$D" == "x" ] && ldconfig
20     [ "x\$D" == "x" ] && systemctl daemon-reload
21     chsmack -a 'User' $D${prefix}/kdb
22     chsmack -a 'User' $D${prefix}/kdb/db
23     chsmack -a 'User' $D${prefix}/kdb/db/.backup
24
25 }