Low specification models require the wrt-loader to shutdown in low memory conditions.
This feature is supported in tizen_lite model only.
Change-Id: Ieb77c203e66a528dd62864fa7c12120db9cd44ee
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
NAME wrt-loader
EXE /usr/bin/wrt-loader
APP_TYPE webapp
-DEACTIVATION_METHOD OUT_OF_MEMORY
DETECTION_METHOD TIMEOUT|DEMAND
TIMEOUT 10000
--- /dev/null
+[LOADER]
+NAME wrt-loader
+EXE /usr/bin/wrt-loader
+APP_TYPE webapp
+DEACTIVATION_METHOD OUT_OF_MEMORY
+DETECTION_METHOD TIMEOUT|DEMAND
+TIMEOUT 10000
install -m 0644 packaging/wrt.loader %{buildroot}%{_datadir}/aul/
%else
ln -s %{_bindir}/wrt %{buildroot}%{_bindir}/wrt-loader
+%if "%{_vd_cfg_platform_type}" == "FULL_SMART"
install -m 0644 packaging/wrt_tv.loader %{buildroot}%{_datadir}/aul/wrt.loader
%endif
+%if "%{_vd_cfg_platform_type}" == "ENTRY_SMART"
+ install -m 0644 packaging/wrt_tv_lite.loader %{buildroot}%{_datadir}/aul/wrt.loader
+%endif
+%endif
cp -r wrt_app/* %{buildroot}%{_resourcedir}/
%post