Change log dump script path 22/103422/1 accepted/tizen/3.0/common/20161212.060347 accepted/tizen/3.0/ivi/20161212.022755 accepted/tizen/3.0/mobile/20161212.022531 accepted/tizen/3.0/tv/20161212.022652 accepted/tizen/3.0/wearable/20161212.022721 submit/tizen_3.0/20161209.072525
authorJiwoong Im <jiwoong.im@samsung.com>
Thu, 8 Dec 2016 08:42:55 +0000 (17:42 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Thu, 8 Dec 2016 08:42:55 +0000 (17:42 +0900)
- change to /opt/etc/dump.d/module.d/alarmmgr_log_dump.sh

Change-Id: I171a0f745088618b45aefcfb40fd727940c70a84
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
CMakeLists.txt
packaging/alarm-manager.spec

index b753702..c4a57e6 100644 (file)
@@ -51,7 +51,7 @@ ADD_SUBDIRECTORY(alarm-session-agent)
 CONFIGURE_FILE(alarm-service.conf.in alarm-service.conf @ONLY)
 INSTALL(TARGETS ${this_target} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
 IF(_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG)
-       INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarmmgr_log_dump.sh DESTINATION ${SYSCONF_INSTALL_DIR}/dump.d/module.d/)
+       INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarmmgr_log_dump.sh DESTINATION ${TZ_SYS_ETC}/dump.d/module.d/)
 ENDIF(_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG)
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/alarm-service.conf DESTINATION ${SYSCONF_INSTALL_DIR}/dbus-1/system.d/)
 
index 13cd87d..51d19b6 100644 (file)
@@ -94,6 +94,7 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 %cmake . -DOBS=1 \
        -DFULLVER=%{version} \
        -DMAJORVER=${MAJORVER} \
+       -DTZ_SYS_ETC=%{TZ_SYS_ETC} \
        -D_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG:BOOL=${_APPFW_FEATURE_ALARM_MANAGER_MODULE_LOG} \
        -D_APPFW_FEATURE_WAKEUP_USING_RTC:BOOL=${_APPFW_FEATURE_WAKEUP_USING_RTC}
 
@@ -151,7 +152,7 @@ cp -f scripts/508.alarmmgr_upgrade.sh %{buildroot}%{upgrade_script_path}
 %{_libdir}/udev/rules.d/99-rtc.rules
 %endif
 %if 0%{?appfw_feature_alarm_manager_module_log}
-%attr(0755,root,root) %{_sysconfdir}/dump.d/module.d/alarmmgr_log_dump.sh
+%attr(0755,root,root) %{TZ_SYS_ETC}/dump.d/module.d/alarmmgr_log_dump.sh
 %endif
 %{upgrade_script_path}/508.alarmmgr_upgrade.sh