Rearrange conf source files 05/274605/3
authorHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 3 May 2022 08:25:25 +0000 (17:25 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 3 May 2022 09:06:16 +0000 (18:06 +0900)
Change-Id: I4f19473c89f2de56d49902a043c9a0e97884f954
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
CMakeLists.txt
conf/block.conf [moved from src/block/block.conf with 100% similarity]
conf/sample-cleanup-storage.conf [moved from src/storage/sample-cleanup-storage.conf with 100% similarity]
conf/storage.conf [moved from src/storage/storage.conf with 100% similarity]
src/block/CMakeLists.txt
src/storage/CMakeLists.txt

index 5b1321c..74162b2 100644 (file)
@@ -49,6 +49,8 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${${PROJECT_NAME}_pkgs_LDFLAGS} "-ldl" "-l
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION bin)
 
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/conf/org.tizen.system.storage.conf DESTINATION /etc/dbus-1/system.d)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/conf/block.conf DESTINATION /etc/storaged)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/conf/storage.conf DESTINATION /etc/storaged)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/systemd/org.tizen.system.storage.service DESTINATION /usr/share/dbus-1/system-services)
 INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/systemd/ DESTINATION lib/systemd/system
        FILES_MATCHING
similarity index 100%
rename from src/block/block.conf
rename to conf/block.conf
similarity index 100%
rename from src/storage/storage.conf
rename to conf/storage.conf
index f72f5e3..9694e78 100644 (file)
@@ -58,5 +58,4 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${${PROJECT_NAME}_pkgs_LDFLAGS})
 SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR}/storaged COMPONENT RuntimeLibraries)
 
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/block.conf DESTINATION /etc/storaged)
 INSTALL(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/mmc-smack-label DESTINATION bin)
index 60674c5..4e8c38b 100644 (file)
@@ -35,5 +35,3 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${${PROJECT_NAME}_pkgs_LDFLAGS})
 
 SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES PREFIX "")
 INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR}/storaged COMPONENT RuntimeLibraries)
-
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/storage.conf DESTINATION /etc/storaged)