[VD] skip wrt-loader launch from LFD product 26/222126/1
authorYONGMAN SON <yman.son@samsung.com>
Fri, 10 Jan 2020 02:17:18 +0000 (11:17 +0900)
committerYONGMAN SON <yman.son@samsung.com>
Fri, 10 Jan 2020 02:17:18 +0000 (11:17 +0900)
zygote process crashed due to a capability issue related to the zone container in the LFD prodect.
LFD uses only one webapp, so there is no need for a wrt-loader.

Change-Id: I64f977a0e47d6963726ca8c44d5b360b2547ac34
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
packaging/wrtjs.spec

index 5e7602165465472351777b4180e7a3dedd410f0c..7754296a60ce05cf418dd17d9c87f7b39856f1c3 100755 (executable)
@@ -35,6 +35,7 @@ install -d %{buildroot}%{_resourcedir}
   install -m 0755 %{_outdir}/wrt-loader %{buildroot}%{_bindir}
   install -m 0644 packaging/wrt.loader %{buildroot}%{_datadir}/aul/
 %else
+%if "%{_vd_cfg_product_type}" != "LFD"
   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
@@ -43,6 +44,7 @@ install -d %{buildroot}%{_resourcedir}
   install -m 0644 packaging/wrt_tv_lite.loader %{buildroot}%{_datadir}/aul/wrt.loader
 %endif
 %endif
+%endif
 cp -r wrt_app/* %{buildroot}%{_resourcedir}/
 
 %post