Detach block module from resourced-light 21/147921/1 accepted/tizen/unified/20170907.060521 submit/tizen/20170906.065233
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 6 Sep 2017 05:19:31 +0000 (14:19 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Wed, 6 Sep 2017 05:21:05 +0000 (14:21 +0900)
- Resourced-light will do only resource management

Change-Id: Icd1a5f006dda418fed6a586ce222292673c60f83
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
packaging/resourced.spec

index 5b0cf48038a336bb0048aaf93e75096aa950e921..b49c39a08c8d4f42dec9fd07d1410ebffaa45ac0 100644 (file)
@@ -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