To support dbus activation by not only pass core but also thermal,
this patch adds dbus activation support.
Change-Id: I50e13d43df9c775ae177a455805af41921f00286
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-pmqos.conf DESTINATION /etc/pass)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/scripts/pass-thermal.conf DESTINATION /etc/pass)
INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.pass.service DESTINATION /usr/share/dbus-1/system-services)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.thermal.service DESTINATION /usr/share/dbus-1/system-services)
CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
%{_unitdir}/delayed.target.wants/%{daemon_name}.service
%{_unitdir}/%{daemon_name}.service
%{_datadir}/dbus-1/system-services/org.tizen.system.pass.service
+%{_datadir}/dbus-1/system-services/org.tizen.system.thermal.service
%files -n %{hal_name}
%defattr(-,root,root,-)
--- /dev/null
+[D-BUS Service]
+Name=org.tizen.system.thermal
+Exec=/bin/false
+SystemdService=pass.service