From: Woochan Lee Date: Thu, 22 Jun 2023 06:45:06 +0000 (+0900) Subject: Add tpk-backend command in setup.py X-Git-Tag: accepted/tizen/unified/20230623.160703~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b11a6f07a4c7dd8c31aa3aef4ea5374c735f8ffb;p=platform%2Fcore%2Fuifw%2Faurum.git Add tpk-backend command in setup.py The tpk-backend command has been deleted due to an issue at fhub binary creation. For proper execution of aurum-bootstrap, tpk-backend should be perfomed at setup time instead. Change-Id: If4643fe2f93dc39c64555d6952190c3fc1571d53 --- diff --git a/protocol/resources/python/mobile/mobileSetup.py b/protocol/resources/python/mobile/mobileSetup.py index 8df3cbe..13a7371 100644 --- a/protocol/resources/python/mobile/mobileSetup.py +++ b/protocol/resources/python/mobile/mobileSetup.py @@ -10,6 +10,7 @@ def run_command(command): # Start scrip here run_command("sdb forward tcp:50051 tcp:50051") +run_command("sdb shell tpk-backend -y org.tizen.aurum-bootstrap --preload") run_command("sdb shell app_launcher -s org.tizen.aurum-bootstrap") # Wait 1 sec till bootstrap launched time.sleep(1) diff --git a/protocol/resources/python/tv/tvSetup.py b/protocol/resources/python/tv/tvSetup.py index 8df3cbe..13a7371 100644 --- a/protocol/resources/python/tv/tvSetup.py +++ b/protocol/resources/python/tv/tvSetup.py @@ -10,6 +10,7 @@ def run_command(command): # Start scrip here run_command("sdb forward tcp:50051 tcp:50051") +run_command("sdb shell tpk-backend -y org.tizen.aurum-bootstrap --preload") run_command("sdb shell app_launcher -s org.tizen.aurum-bootstrap") # Wait 1 sec till bootstrap launched time.sleep(1)