From 8d64247c60aab3f83b4ee6968098469f33c7a190 Mon Sep 17 00:00:00 2001 From: Aditya Aswani Date: Thu, 21 Jul 2022 21:31:58 +0530 Subject: [PATCH] Revert "Added sdb connect file for bridge connection" This reverts commit 480e23caf5547e43d9f5bb878eb7eb9d6391de5c. Change-Id: I01e783d3f74cded4e6774b57f2b1d2fed100f4a9 --- tizen/src/Makefile | 1 - tizen/src/scripts/emulator-sdb-connect.sh | 36 ----------------------- 2 files changed, 37 deletions(-) delete mode 100755 tizen/src/scripts/emulator-sdb-connect.sh diff --git a/tizen/src/Makefile b/tizen/src/Makefile index dd217688e3..5fa5024fdc 100755 --- a/tizen/src/Makefile +++ b/tizen/src/Makefile @@ -89,7 +89,6 @@ endif # for bridged network ifdef CONFIG_LINUX cp -pP scripts/emulator-ifup-linux.sh $(EMUL_DIR)/etc/emulator-ifup.sh - cp -pP scripts/emulator-sdb-connect.sh $(EMUL_DIR)/etc/emulator-sdb-connect.sh cp -pP ../supplements/SDK/tizen-sudoers.rules $(EMUL_DIR)/etc endif ifdef CONFIG_DARWIN diff --git a/tizen/src/scripts/emulator-sdb-connect.sh b/tizen/src/scripts/emulator-sdb-connect.sh deleted file mode 100755 index 00d7c534a5..0000000000 --- a/tizen/src/scripts/emulator-sdb-connect.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh +x - -# $1: device IP -# $2: emulator.log file path -# $3: sdb path - - -if [ "x$1" = "x" ] || [ "x$2" = "x" ] || [ "x$3" = "x" ];then - echo "Incorrect arguments passed" - #IP=192.168.7.2 - #EMULATOR_LOG_PATH=~/tizen-studio-data/emulator/vms/t-0531-1/logs/emulator.log - #SDB_PATH=~/tizen-studio/tools/sdb - exit 1 -else - IP=$1 - EMULATOR_LOG_PATH=$2 - SDB_PATH=$3 -fi - -SUBSTR="boot completed" - -echo "Waiting for the emulator to boot up" -timeout 120s tail -f $EMULATOR_LOG_PATH | sed "/$SUBSTR/ q" - -#RETVALUE="$?" -#echo "Trying sdb connect $1" - -#echo "Return value is $RETVALUE" -#if [ "$RETVALUE" = "124" ];then -# echo "Emulator boot up taking longer than usual. Run the following command to connect to the emulator manually. sdb connect " -# exit 1 -#else - echo "$SDB_PATH connect $IP" - $SDB_PATH connect $IP - exit 0 -#fi -- 2.34.1