[UTC][application][Non-ACR][Exclude application module from tizeniot service module] 82/202282/3
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 26 Mar 2019 22:33:40 +0000 (07:33 +0900)
committerPriya Kohli <priya.kohli@samsung.com>
Wed, 27 Mar 2019 06:57:10 +0000 (12:27 +0530)
Change-Id: Ib6d398a8287905fe1cf1ab7611c832f92eb04419
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
scripts_tpk/tizeniot_service_modules.txt
scripts_tpk/tpk_create.sh

index 6b5b4ceb9e95920770587e2bc00c8fb44245c508..bab8aac085573f6c433c90b38c9e3e16615d15c5 100755 (executable)
@@ -1,6 +1,5 @@
 accounts-svc
 alarm
-application
 appcore-agent
 app-manager
 audio-io
index ae49decbbd7d50c43d3aec4498e48794551b7555..a3373c0474d08e3cf24c4b387baaf8d1a7322220 100755 (executable)
@@ -335,37 +335,17 @@ deploySourceFile() {
                # add app-control attribute for application-utc
                if echo "$line" | grep -q "<app-control"; then
                        echo $line >> tizen-manifest.xml
-                       if [ $PROFILE_TYPE == "tizeniot" ]; then
-                               sed -i '/<\/manifest>/d' tizen-manifest.xml
-                               sed -i '/<\/service-application>/d' tizen-manifest.xml
-                               while true
-                               do
-                                       read nextLine
-                                       if echo $nextLine | grep -q "</app-control"; then
-                                               echo $nextLine >> tizen-manifest.xml
-                                               break
-                                       fi
-                                       echo $nextLine >> tizen-manifest.xml
-                               done
-
-                               echo '</service-application>' >> tizen-manifest.xml
-                               echo '</manifest>' >> tizen-manifest.xml
-                       else
-                               sed -i '/<\/manifest>/d' tizen-manifest.xml
-                               sed -i '/<\/ui-application>/d' tizen-manifest.xml
-                               while true
-                               do
-                                       read nextLine
-                                       if echo $nextLine | grep -q "</app-control"; then
-                                               echo $nextLine >> tizen-manifest.xml
-                                               break
-                                       fi
+                       sed -i '/<\/ui-application>/d' tizen-manifest.xml
+                       while true
+                       do
+                               read nextLine
+                               if echo $nextLine | grep -q "</app-control"; then
                                        echo $nextLine >> tizen-manifest.xml
-                               done
-
-                               echo '</ui-application>' >> tizen-manifest.xml
-                               echo '</manifest>' >> tizen-manifest.xml
-                       fi
+                                       break
+                               fi
+                               echo $nextLine >> tizen-manifest.xml
+                       done
+                       echo '</ui-application>' >> tizen-manifest.xml
                fi
 
                # keep complication information