From b5445d3fae2fca61ed036a4e88f061903965db7a Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Thu, 22 Oct 2020 19:00:52 +0200 Subject: [BUILD] add systemd service file for dnbd3-server to installation targets --- CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index dae49c6..fcdc6b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -161,7 +161,11 @@ if(CMAKE_BUILD_TYPE MATCHES Release) "/lib/modules" "/lib/modules/${CMAKE_SYSTEM_VERSION}" "/lib/modules/${CMAKE_SYSTEM_VERSION}/extra" - "/etc") + "/etc" + "/usr" + "/usr/lib" + "/usr/lib/systemd" + "/usr/lib/systemd/system") if(DNBD3_KERNEL_MODULE) file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/package/rpm/post "depmod -a\n") file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/package/rpm/postun "depmod -a\n") @@ -195,5 +199,5 @@ endif(CMAKE_BUILD_TYPE MATCHES Release) # add all dnbd3 related projects from the source code directory add_subdirectory(src) -# add configuration files for packaging purposes -add_subdirectory(conf) +# add configuration and operational files for packaging purposes +add_subdirectory(pkg) -- cgit v1.2.3-55-g7522