[M108 Migration][VD][UWE] Change Chromium TPK to WAS App 64/289464/2
authorjiangyuwei <yuwei.jiang@samsung.com>
Wed, 8 Mar 2023 06:08:28 +0000 (14:08 +0800)
committerBot Blink <blinkbot@samsung.com>
Mon, 13 Mar 2023 04:54:37 +0000 (04:54 +0000)
This patch includes:

1. Change Chromium TPK type from BIU to WAS by removing 2 metadatas.
The BIU(BuiltInUpgrade) app is installed unconditionally,
and the WAS type app can set the installation conditions.

When considering flash size,
Chromium TPK should not be installed unconditionally.

2. Add new metadata, "postinstall.launch"
WAS executes mount daemon when an app containing "postinstall.launch"
metadata is installed or updated.

Reference:
  - https://review.tizen.org/gerrit/#/c/272769/

Change-Id: I9e04337f6ad976a265091d7d2088db0d0ca53bd5
Signed-off-by: jiangyuwei <yuwei.jiang@samsung.com>
packaging/org.tizen.chromium-efl-vd.xml.in

index 86ed901..b525026 100644 (file)
@@ -7,8 +7,7 @@
     <ui-application appid="@PACKAGE_ID@" exec="/usr/bin/efl_webprocess" nodisplay="true" multiple="false" type="capp" taskmanage="false">
         <label>Tizen Web Engine based on Chromium</label>
         <label xml:lang="en-us">Tizen Web Engine based on Chromium</label>
-        <metadata key="http://samsung.com/tv/metadata/built-in-app" value="true" />
-        <metadata key="http://samsung.com/tv/metadata/background-update" value="inactive" />
+        <metadata key="http://samsung.com/tv/metadata/postinstall.launch" value="/usr/bin/chromium-efl-install"/>
     </ui-application>
     <ui-application appid="@PACKAGE_ID@.wrt-service-launcher" exec="/usr/bin/wrt-service-launcher" nodisplay="true" multiple="false" type="capp" taskmanage="false">
         <label>Tizen Web Service Launcher</label>