Due to blockages, change the power-manager from being launched as a user mode to...
authorChris E Ferron <chris.e.ferron@linux.intel.com>
Wed, 15 Aug 2012 19:12:24 +0000 (12:12 -0700)
committerChris E Ferron <chris.e.ferron@linux.intel.com>
Wed, 15 Aug 2012 19:21:38 +0000 (12:21 -0700)
packaging/sensor-framework.changes
packaging/sensor-framework.spec

index 2a2e8d8..8f66b1d 100644 (file)
@@ -1,3 +1,6 @@
+* Wed Aug 15 2012 Chris E Ferron <chris.e.ferron@linux.intel.com> 8b5e9a1
+- Due to blockages, change the power-manager from being launched as a user mode to a system mode service
+
 * Mon Jul 09 2012 Karol Lewandowski <k.lewandowsk@samsung.com> c964fd1
 - Use 'simple' service type.
 
index 8bc893a..0160763 100644 (file)
@@ -30,9 +30,9 @@ make %{?jobs:-j%jobs}
 %install
 %make_install
 
-mkdir -p %{buildroot}%{_libdir}/systemd/user/tizen-middleware.target.wants
-install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/user/
-ln -s ../sensor-framework.service %{buildroot}%{_libdir}/systemd/user/tizen-middleware.target.wants/sensor-framework.service
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+install -m 0644 %SOURCE1 %{buildroot}%{_libdir}/systemd/system/
+ln -s ../sensor-framework.service %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants/sensor-framework.service
 
 # FIXME: remove initscripts after we start using systemd
 mkdir -p %{buildroot}%{_sysconfdir}/rc.d/rc3.d
@@ -73,6 +73,6 @@ vconftool set -t int memory/sensor/80002 0 -i
 %attr(0644,root,root)/usr/etc/sf_filter.conf
 %attr(0644,root,root)/usr/etc/sf_processor.conf
 %attr(0644,root,root)/usr/etc/sf_sensor.conf
-%{_libdir}/systemd/user/sensor-framework.service
-%{_libdir}/systemd/user/tizen-middleware.target.wants/sensor-framework.service
+%{_libdir}/systemd/system/sensor-framework.service
+%{_libdir}/systemd/system/multi-user.target.wants/sensor-framework.service