Revert "Start sdbd at boot time" 03/14903/1
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 13 Jan 2014 12:27:48 +0000 (04:27 -0800)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 13 Jan 2014 12:27:48 +0000 (04:27 -0800)
This reverts commit da60ed8dd45cc54f72e35688d0f016062ed4976e.

Change-Id: I864d0df0e78bbcfddf5f19a9013d7e40549598e8
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
packaging/sdbd.changes
packaging/sdbd.spec
packaging/sdbd_device.service

index e1c0619dc674c12ad4aa3f186ee4ef065e5f68f1..fc078afdbe22c9a06533347b6d1a6311e00f25d9 100644 (file)
@@ -1,6 +1,3 @@
-* Fri Jan 10 2014 Kévin THIERRY <kevin.thierry@open.eurogiciel.org> accepted/tizen/20131112.015040@29f2623
-- Start sdbd at boot time
-
 * Thu Oct 31 2013 Junfeng Dong <junfeng.dong@intel.com> submit/tizen/20131011.084016@81e3d5b
 - Fix some runtime issue in 3.0
 
index 1c65cb31c51559affe841bfa9a6e243d38a1910b..c6a8de4e5ecdfaf1966e61c4b67c7c1dceadb186 100644 (file)
@@ -29,18 +29,16 @@ make %{?jobs:-j%jobs}
 %install
 %make_install
 
-install -d %{buildroot}%{_libdir}/systemd/system
+mkdir -p %{buildroot}%{_libdir}/systemd/system
 %if 0%{?simulator}
 install -m 0644 %SOURCE1002 %{buildroot}%{_libdir}/systemd/system/sdbd.service
-install -d %{buildroot}/%{_libdir}/systemd/system/emulator.target.wants
+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
-install -d %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/
-ln -s %{_libdir}/systemd/system/%{name}.service %{buildroot}/%{_libdir}/systemd/system/multi-user.target.wants/
 %endif
 
-install -d %{buildroot}%{_prefix}/sbin
+mkdir -p %{buildroot}%{_prefix}/sbin
 install -m 755 script/sdk_launch %{buildroot}%{_prefix}/sbin/
 
 %files
@@ -53,8 +51,6 @@ install -m 755 script/sdk_launch %{buildroot}%{_prefix}/sbin/
 %{_libdir}/systemd/system/sdbd.service
 %if 0%{?simulator}
 %{_libdir}/systemd/system/emulator.target.wants/sdbd.service
-%else
-%{_libdir}/systemd/system/multi-user.target.wants/%{name}.service
 %endif
 
 %changelog
index 295f59486e0d5ff0b46a56d5fc1bda943f413993..0b92d85269ea65a8cddd0dde0f493f287b870211 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=sdbd
-After=syslog.target
+After=default.target
 
 [Service]
 Type=forking
@@ -8,6 +8,3 @@ Environment=DISPLAY=:0
 PIDFile=/tmp/.sdbd.pid
 RemainAfterExit=yes
 ExecStart=/usr/sbin/sdbd
-
-[Install]
-WantedBy=multi-user.target