pass: Remove unnecessary installed service files 77/276477/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 17 Jun 2022 06:15:15 +0000 (15:15 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 17 Jun 2022 06:18:33 +0000 (15:18 +0900)
The dbus activation service files are not necessary in systemd
unitdir. Remove unnecessary installation of dbus activation
service files.

This removes below packaging warning message:
   warning: Installed (but unpackaged) file(s) found:
      /usr/lib/systemd/system/org.tizen.system.pass.service
      /usr/lib/systemd/system/org.tizen.system.thermal.service

Change-Id: I5c13e31032b07db7ac11271ad5f231737383b0f8
Fixes: commit d0b00031fc66 ("core: Add support for dbus activation for thermal")
Fixes: commit da1dc2ab2a66 ("core: Apply systemd-based dbus activation")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
CMakeLists.txt

index ba83e67..517d855 100644 (file)
@@ -127,7 +127,7 @@ INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.thermal.service DESTI
 
 INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/systemd/ DESTINATION lib/systemd/system
                FILES_MATCHING
-               PATTERN "*.service"
+               PATTERN "${PROJECT_NAME}.service"
                )
 
 ADD_SUBDIRECTORY(unittest)