[VD] Build fix - skip wrt-loader launch for LFD product 71/222271/5
authorYONGMAN SON <yman.son@samsung.com>
Mon, 13 Jan 2020 06:47:18 +0000 (15:47 +0900)
committerDongHyun Song <dh81.song@samsung.com>
Mon, 13 Jan 2020 09:41:48 +0000 (09:41 +0000)
commit9ec00eb2d51387e34ee67b2ebd9442ec4f6c4ddf
tree604b5cf0f247ec967fb548a98ab073ff2a51da70
parent8c208b87f0e4f866908dd471a45a4eb7980ac850
[VD] Build fix - skip wrt-loader launch for LFD product

Eventually, This patch won't make the wrt.loader service file
for LFD product.

In LFD, it has only one webapp which is launched early time after boot.
Thus, wrt-loader is not effective to LFD product.

In addition, with WRTjs, zygote process is changed to /usr/bin/wrt
from efl_webprocess. 'wrt' has more capability than efl_webprocess and
some of its capability (i.e. cap_setpcap), they cannot be working with
zone container of security framework.
Thus, zygote process is going to die with wrt-loader launching.

If webapp is launched directly without wrt-loader, the webapp process is
started with app privilege, which means that process has changed smack
label, process group as app permission its manifest describes.

With these reason, this patch will not make wrt.loader file for LFD
product.

Change-Id: I6a1db9b65a4e20ac70d072f93f581d50085ee814
Signed-off-by: YONGMAN SON <yman.son@samsung.com>
Signed-off-by: DongHyun Song <dh81.song@samsung.com>
packaging/wrtjs.spec