aboutsummaryrefslogtreecommitdiffstats
path: root/meta-application-manager/recipes-application-framework/vconf/vconf-extraconf.inc
blob: abc8292ad1b40338563269fc7410fbc6b3bfe361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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

}