unified-system-plugin: Relocate libunified-system-service-storaged.so 71/324271/1
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 15 May 2025 04:58:33 +0000 (13:58 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 15 May 2025 04:58:33 +0000 (13:58 +0900)
The library file libunified-system-service-storaged.so is relocated under
    32-bit: /usr/lib/system/plugin
    64-bit: /usr/lib64/system/plugin

Change-Id: Icd2b72558bf1bc4619443249deec7706c6ec7c64
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
CMakeLists.txt
packaging/storaged.spec

index ef46f2ceb17a7ddf749eabbc368cec1898b72a64..a306ef6c586cae706438b964064e5685a66cb05b 100644 (file)
@@ -54,7 +54,7 @@ INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
 
 ADD_LIBRARY(${LIBRARY_NAME} SHARED ${SRCS})
 TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${PROJECT_NAME}_pkgs_LDFLAGS} "-ldl" "-lm")
-INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION ${LIB_INSTALL_DIR} COMPONENT RuntimeLibraries)
+INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION ${LIB_INSTALL_DIR}/system/plugin/ COMPONENT RuntimeLibraries)
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/conf/org.tizen.system.storage.conf DESTINATION /etc/dbus-1/system.d)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/conf/org.tizen.system.storage-unified-system-service.conf DESTINATION /etc/dbus-1/system.d)
index 308bb3fb5f785bb7dab6fbdcd6ab174e59a96ad4..417f47197c1cb86d9e7ebec289898ce23f53bd43 100644 (file)
@@ -169,7 +169,7 @@ systemctl daemon-reload
 %manifest %{name}.manifest
 %license LICENSE.Apache-2.0
 %config %{_sysconfdir}/dbus-1/system.d/org.tizen.system.storage-unified-system-service.conf
-%{_libdir}/libunified-system-service-storaged.so
+%{_libdir}/system/plugin/libunified-system-service-storaged.so
 %if "%{asan}" == "1"
 %{_unitdir}/storaged.service.d/storaged.asan.conf
 %endif