From: Kichan Kwon Date: Wed, 6 Sep 2017 05:19:31 +0000 (+0900) Subject: Detach block module from resourced-light X-Git-Tag: submit/tizen/20170906.065233^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=700a8db0fa2cde1ca50aa4f9ebcbbae06356a27d;p=platform%2Fcore%2Fsystem%2Fresourced.git Detach block module from resourced-light - Resourced-light will do only resource management Change-Id: Icd1a5f006dda418fed6a586ce222292673c60f83 Signed-off-by: Kichan Kwon --- diff --git a/packaging/resourced.spec b/packaging/resourced.spec index 5b0cf480..b49c39a0 100644 --- a/packaging/resourced.spec +++ b/packaging/resourced.spec @@ -1,7 +1,7 @@ Name: resourced Summary: Resource management daemon Version: 0.4 -Release: 10 +Release: 11 Group: System/Libraries License: Apache-2.0 Source0: %{name}-%{version}.tar.gz @@ -12,7 +12,6 @@ Source0: %{name}-%{version}.tar.gz # reset them at every end of cmake to reset to default value and # you should not use the variable except inside pushd/popd in build # section. -%define block_module ON %define cpu_module ON %define freezer_module ON %define memory_module ON @@ -24,6 +23,7 @@ Source0: %{name}-%{version}.tar.gz %define debug_log OFF # Default settings changed per profile: +%define block_module ON %define heart_module ON %define exclude_list_file_name resourced_proc_exclude.ini @@ -62,7 +62,7 @@ Resourced daemon. Summary: Resourced light binary Conflicts: %{name} %description light -Resourced binary without heart module +Resourced binary without logging modules %prep %setup -q @@ -98,6 +98,7 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" # For resourced-without_heart binary mkdir -p build_light pushd build_light +%define block_module OFF %define heart_module OFF %cmake .. -DFULLVER=%{version} \ -DMAJORVER=${MAJORVER} \ @@ -127,6 +128,7 @@ pushd build_light make %{?jobs:-j%jobs} # Default settings changed per profile: +%define block_module ON %define heart_module ON popd @@ -259,9 +261,6 @@ mv %{_bindir}/resourced %{_bindir}/resourced.light %if %{?timer_slack} == ON %config %{rd_config_path}/timer-slack.conf %endif -%if %{?block_module} == ON - %config %{rd_config_path}/block.conf -%endif %{exclude_list_ro_path} #mem-stress %if %{?mem_stress} == ON