summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvadthe.naik <vadthe.naik@samsung.com>2014-02-04 19:55:17 +0530
committervadthe.naik <vadthe.naik@samsung.com>2014-02-06 12:17:59 +0530
commit2c3072ed6d11d94ab32d05069dfc32edd00bbf9a (patch)
treea120e9e28b1fd53b5e015d2413a373ffbed295d2
parenta02aea94f5ae4b087bf46e5d2f133d8f8c12065d (diff)
downloadmenu-daemon-tizen.tar.gz
menu-daemon-tizen.tar.bz2
menu-daemon-tizen.zip
Add multi-user support for Bug-Tizen:PTREL-227HEADtizen
Change-Id: I9485f95291c5fab5abd45b1b1ef5dc1371cf1eb0 Signed-off-by: vadthe.naik <vadthe.naik@samsung.com>
-rw-r--r--include/desktop_to_db.h2
-rw-r--r--packaging/menu-daemon.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/include/desktop_to_db.h b/include/desktop_to_db.h
index 1494272..05caa44 100644
--- a/include/desktop_to_db.h
+++ b/include/desktop_to_db.h
@@ -16,7 +16,7 @@
-#define APP_INFO_DB_FILE "/opt/dbspace/.app_info.db"
+
#define DESKTOP_FILE_PATH "/usr/share/install-info/application"
#define ORDER_FILE_PATH "/usr/share/install-info/.order/order"
diff --git a/packaging/menu-daemon.spec b/packaging/menu-daemon.spec
index 894eb78..8ef1b98 100644
--- a/packaging/menu-daemon.spec
+++ b/packaging/menu-daemon.spec
@@ -31,6 +31,7 @@ BuildRequires: edje-bin
BuildRequires: embryo-bin
BuildRequires: eet-bin
BuildRequires: gettext-tools
+Requires(post): tizen-platform-config
Requires(post): /usr/bin/vconftool
%description
@@ -52,8 +53,10 @@ chmod +x %{buildroot}/etc/init.d/menudaemon
chmod +x %{buildroot}/etc/init.d/menudaemon.fast
%post
+source /etc/tizen-platform.conf
+GID=$(getent group $TZ_SYS_USER_GROUP | cut -f 3 -d :)
vconftool set -t string memory/menuscreen/desktop "0" -i -f
-vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -u 5000 -f
+vconftool set -t int memory/idle-screen/is_idle_screen_launched "0" -i -g $GID -f
ln -sf /etc/init.d/menudaemon /etc/rc.d/rc3.d/S46menudaemon
ln -sf /etc/init.d/menudaemon.fast /etc/rc.d/rc4.d/S85menudaemon