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>
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)
%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