diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-07-08 17:57:39 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-07-08 17:57:39 +0200 |
commit | 8b874315e9eefb48759409e01f897a67a7243a0f (patch) | |
tree | 6a85999298f874b79c0fc31017fb9e8e7251f69f | |
parent | 372d2b681a326c6b03aecc1a8ca573903aa31cf4 (diff) | |
download | meta-tizen-8b874315e9eefb48759409e01f897a67a7243a0f.tar.gz meta-tizen-8b874315e9eefb48759409e01f897a67a7243a0f.tar.bz2 meta-tizen-8b874315e9eefb48759409e01f897a67a7243a0f.zip |
Tmp fix ail post install.
Change-Id: I65cde8eea8aadb34953bcc1434a746f8cbec4921
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r-- | recipes-tizen/ail/ail-extraconf.inc | 18 | ||||
-rw-r--r-- | recipes-tizen/pam/pam-extraconf.inc | 4 |
2 files changed, 20 insertions, 2 deletions
diff --git a/recipes-tizen/ail/ail-extraconf.inc b/recipes-tizen/ail/ail-extraconf.inc index d9c7f961..dfeb3d18 100644 --- a/recipes-tizen/ail/ail-extraconf.inc +++ b/recipes-tizen/ail/ail-extraconf.inc @@ -5,4 +5,20 @@ SRC_URI_append_class-native = " file://remove-dlog-for-native-build.patch" RDEPENDS_${PN}_remove_class-native = "systemd-native" DEPENDS_remove_class-native = "dlog-native" -DEPENDS_class-target += " ail-native"
\ No newline at end of file +DEPENDS_class-target += " ail-native" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + vconftool set -t string db/ail/ail_info "0" -f -s system::vconf_inhouse + vconftool set -t string db/menuscreen/desktop "0" -f -s system::vconf_inhouse + vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s system::vconf_inhouse + chsmack -a User $D${prefix}/kdb/db/ail + chsmack -a User $D${prefix}/kdb/db/ail/ail_info + chsmack -a User $D${prefix}/kdb/db/menuscreen + chsmack -a User $D${prefix}/kdb/db/menuscreen/desktop + chsmack -a User $D${prefix}/kdb/db/menu_widget + chsmack -a User $D${prefix}/kdb/db/menu_widget/language + +}
\ No newline at end of file diff --git a/recipes-tizen/pam/pam-extraconf.inc b/recipes-tizen/pam/pam-extraconf.inc index 9db52801..dca7101a 100644 --- a/recipes-tizen/pam/pam-extraconf.inc +++ b/recipes-tizen/pam/pam-extraconf.inc @@ -80,11 +80,13 @@ RPROVIDES_${PN}-modules-extra += "pam-plugin-loginuid" pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" == "x" ] && ldconfig if [ ! -a $D/var/log/faillog ] ; then + mkdir -p $D/var/log /usr/bin/install -m 600 /dev/null $D/var/log/faillog fi if [ ! -a $D/var/log/tallylog ] ; then + mkdir -p $D/var/log /usr/bin/install -m 600 /dev/null $D/var/log/tallylog fi |