unified-system-plugin: Relocate libunified-system-service-sensord.so 73/324373/1
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 15 May 2025 04:35:50 +0000 (13:35 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Fri, 16 May 2025 05:10:53 +0000 (14:10 +0900)
The library file libunified-system-service-sensord.so is relocated under
    32-bit: /usr/lib/system/plugin
    64-bit: /usr/lib64/system/plugin

Change-Id: I2bbee446d2680559b308773506dfcfae707b252d
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
packaging/sensord.spec
src/server/CMakeLists.txt

index b5168e47d995ce79472b527eaa4ca947aca02bcd..7b2a409df862e312e0eeca49c14d056c8bf6c43d 100644 (file)
@@ -161,7 +161,7 @@ rm -f %{_unitdir}/sockets.target.wants/sensord.socket
 %{_libdir}/libsensord-shared.so
 %{_libdir}/sensor/fusion/libsensor-fusion.so
 %{_libdir}/sensor/physical/libsensor-physical.so
-%{_libdir}/libunified-system-service-sensord.so
+%{_libdir}/system/plugin/libunified-system-service-sensord.so
 %config %{_sysconfdir}/sensord/auto_rotation.conf
 %license LICENSE.APLv2
 
index 896d75c5035ccec41adc0e46b500bc306cec5ca0..e7045340de7f261a81e425e9af2d7a5726975f2a 100644 (file)
@@ -44,4 +44,4 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
 SET(LIBRARY_NAME "unified-system-service-sensord")
 ADD_LIBRARY(${LIBRARY_NAME} SHARED ${SERVER_SRCS})
 TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${SERVER_PKGS_LDFLAGS} ${CMAKE_DL_LIBS} "sensord-shared")
-INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
+INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION ${LIB_INSTALL_DIR}/system/plugin COMPONENT RuntimeLibraries)