From 69702aaf103e3c7914b35f06d7dae4fc66bca021 Mon Sep 17 00:00:00 2001 From: Minje Ahn Date: Fri, 19 Aug 2016 12:29:27 +0900 Subject: [PATCH] Add option for lazy mount patch Change-Id: I9537d05d88e24fa037f5b56f79b2e9f2660754d0 Signed-off-by: Minje Ahn --- packaging/media-server-user.service | 1 + packaging/media-server.spec | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/media-server-user.service b/packaging/media-server-user.service index 0fbedc8..e97970b 100644 --- a/packaging/media-server-user.service +++ b/packaging/media-server-user.service @@ -1,5 +1,6 @@ [Unit] Description=Media server user +DefaultDependencies=no [Service] Type=idle diff --git a/packaging/media-server.spec b/packaging/media-server.spec index 892a523..67577f4 100755 --- a/packaging/media-server.spec +++ b/packaging/media-server.spec @@ -255,8 +255,8 @@ cp -rf %{_builddir}/%{name}-%{version}/data/media.db %{buildroot}/etc/multimedia %post # setup dbupdate in user session -mkdir -p %{_unitdir_user}/default.target.wants/ -ln -sf ../media-server-user.path %{_unitdir_user}/default.target.wants/ +mkdir -p %{_unitdir_user}/basic.target.wants/ +ln -sf ../media-server-user.path %{_unitdir_user}/basic.target.wants/ chmod 755 /etc/gumd/useradd.d/30_media-server-add.post buxton2ctl -i -u 100 create-int32 "system" "db/filemanager/dbupdate" "1" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public" buxton2ctl -i -u 100 create-int32 "system" "db/private/extractstatus" "1" "http://tizen.org/privilege/internal/default/public" "http://tizen.org/privilege/internal/default/public" -- 2.7.4