From: yoonki.park Date: Fri, 11 Oct 2013 14:48:06 +0000 (+0900) Subject: make link sdbd.service file to emulator target dir X-Git-Tag: submit/tizen/20131104.051643~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10bfc881e596781cc128f83658b49918311bb456;p=sdk%2Ftarget%2Fsdbd.git make link sdbd.service file to emulator target dir Change-Id: I26a4a042b694777dde1f60f79a977ef927cd59a0 Signed-off-by: yoonki.park --- diff --git a/packaging/sdbd.spec b/packaging/sdbd.spec index 53c6391..1161e9d 100644 --- a/packaging/sdbd.spec +++ b/packaging/sdbd.spec @@ -1,7 +1,7 @@ Name: sdbd Summary: SDB daemon Version: 2.2.13 -Release: 0 +Release: 1 License: Apache-2.0 Summary: SDB daemon Group: System/Utilities @@ -37,6 +37,8 @@ rm -rf %{buildroot} mkdir -p %{buildroot}%{_libdir}/systemd/system %if 0%{?simulator} install -m 0644 %SOURCE1002 %{buildroot}%{_libdir}/systemd/system/sdbd.service +mkdir -p %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants +ln -s %{_libdir}/systemd/system/sdbd.service %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants/ %else install -m 0644 %SOURCE1001 %{buildroot}%{_libdir}/systemd/system/sdbd.service %endif @@ -55,5 +57,8 @@ chsmack -t /home/developer %{_prefix}/sbin/sdk_launch %{_sysconfdir}/init.d/sdbd %{_libdir}/systemd/system/sdbd.service +%if 0%{?simulator} +%{_libdir}/systemd/system/emulator.target.wants/sdbd.service +%endif %changelog