X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf%2Fsystem%2FCMakeLists.txt;h=0b6e66ebd8341d686ac8fa51b949122768801d7a;hb=a123bb31906ef03ff813559aee426282416d729d;hp=eba8d42ab95baaa3536127608173df0db25aa7d1;hpb=405ba312a11f4217e5a8742169b010e2c747a4e0;p=src%2Fapp-framework-main.git diff --git a/conf/system/CMakeLists.txt b/conf/system/CMakeLists.txt index eba8d42..0b6e66e 100644 --- a/conf/system/CMakeLists.txt +++ b/conf/system/CMakeLists.txt @@ -1,5 +1,5 @@ ########################################################################### -# Copyright (C) 2015-2019 IoT.bzh +# Copyright (C) 2015-2020 IoT.bzh # # author: José Bollo # @@ -18,6 +18,10 @@ cmake_minimum_required(VERSION 2.8) +if(AGL_DEVEL) + set(create_platform_debug "dodir ${afm_platform_rundir}/debug") +endif() + configure_file(afm-system-daemon.service.in afm-system-daemon.service) configure_file(afm-system-daemon.socket.in afm-system-daemon.socket) configure_file(afm-system-setup.service.in afm-system-setup.service) @@ -46,6 +50,12 @@ if(NOT USE_SDK) DESTINATION ${UNITDIR_SYSTEM} ) + install( + DIRECTORY + ${CMAKE_CURRENT_SOURCE_DIR}/user-runtime-dir@.service.wants + DESTINATION + ${UNITDIR_SYSTEM} + ) install( PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/afm-user-setup.sh