diff options
author | Minkyu Kang <mk7.kang@samsung.com> | 2015-01-22 10:40:25 +0900 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2015-01-22 10:40:25 +0900 |
commit | 0fb2c3610998b68c4cd6a8d5bd09f7d30e4826d6 (patch) | |
tree | 7f6bc04f6387d337eaf6df79d5f3a7262c3d2a89 /packaging/org.tizen.homescreen-tv-ref.spec | |
parent | 2875f5ca245c80bc6b8269ca700126fa4b863f71 (diff) | |
download | homescreen-master.tar.gz homescreen-master.tar.bz2 homescreen-master.zip |
modify service file for running homescreen when bootingHEADsubmit/tizen_tv/20150122.024307accepted/tizen/tv/20150123.020638master
Change-Id: I88f0edb242cac34dcbf567cee0769230dc67f67c
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'packaging/org.tizen.homescreen-tv-ref.spec')
-rw-r--r-- | packaging/org.tizen.homescreen-tv-ref.spec | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/packaging/org.tizen.homescreen-tv-ref.spec b/packaging/org.tizen.homescreen-tv-ref.spec index e3796ea..11a8424 100644 --- a/packaging/org.tizen.homescreen-tv-ref.spec +++ b/packaging/org.tizen.homescreen-tv-ref.spec @@ -31,6 +31,8 @@ BuildRequires: gettext-devel %define _cfgdir %{_resdir}/config %define _edjedir %{_resdir}/edje %define _manifestdir /usr/share/packages +%define _sysuserdir /systemd/user +%define _servicedir /systemd/user/default.target.wants %description Application for providing user status and tv contents @@ -54,9 +56,9 @@ make %{?jobs:-j%jobs} %install %make_install install --directory %{buildroot}/%{_datadir} -install --directory %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants -install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}/systemd/user/ -ln -sf ../%{name}.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/ +install --directory %{buildroot}%{_libdir}%{_servicedir} +install -m 0644 %{SOURCE1} %{buildroot}%{_libdir}%{_sysuserdir} +ln -sf ../%{name}.service %{buildroot}%{_libdir}%{_servicedir} %clean rm -rf %{buildroot} @@ -68,5 +70,5 @@ rm -rf %{buildroot} %{_resdir}/* %{_datadir} %{_manifestdir}/%{name}.xml -%{_libdir}/systemd/user/%{name}.service -%{_libdir}/systemd/user/core-efl.target.wants/%{name}.service +%{_libdir}%{_sysuserdir}/%{name}.service +%{_libdir}%{_servicedir}/%{name}.service |