Enable swap module in resourced-light 70/176070/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 16 Apr 2018 09:11:32 +0000 (11:11 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Mon, 21 May 2018 06:39:30 +0000 (08:39 +0200)
Change-Id: I2e191cf69449950a953273e116cb0e44caaf2230

packaging/resourced-light.spec

index 73f0d7efd52d7eac77991d2431e8ec936a413b8d..f0730d99d97eec2d5423895ed7756d0ee26c2c12 100644 (file)
@@ -93,7 +93,7 @@ export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 %define block_module           OFF
 %define freezer_module         OFF
 %define heart_module           OFF
-%define swap_module                    OFF
+%define swap_module                    ON
 
 %cmake . -DFULLVER=%{version} \
         -DMAJORVER=${MAJORVER} \
@@ -150,6 +150,9 @@ rm -rf %{buildroot}/%{rd_config_path}/memory_tv.conf
 %if %{?cpu_module} == ON
        %config %{rd_config_path}/cpu.conf
 %endif
+%if %{?swap_module} == ON
+       %config %{rd_config_path}/swap.conf
+%endif
 %if %{?vip_agent_module} == ON
        %config %{rd_config_path}/vip-process.conf
        %attr(-,root, root) %{_bindir}/vip-release-agent