envsetup: s/wait-for-online/wait-for-device-recovery/g
Change-Id: I3fd52aa99d281837fdbdba3b1d268572061a900d
This commit is contained in:
@@ -100,7 +100,7 @@ function eat()
|
||||
return 1
|
||||
fi
|
||||
echo "Waiting for device..."
|
||||
adb wait-for-online
|
||||
adb wait-for-device-recovery
|
||||
echo "Found device"
|
||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD"); then
|
||||
echo "Rebooting to sideload for install"
|
||||
@@ -364,9 +364,9 @@ function installboot()
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
adb wait-for-online
|
||||
adb wait-for-device-recovery
|
||||
adb root
|
||||
adb wait-for-online
|
||||
adb wait-for-device-recovery
|
||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD");
|
||||
then
|
||||
adb push $OUT/boot.img /cache/
|
||||
@@ -402,9 +402,9 @@ function installrecovery()
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
adb wait-for-online
|
||||
adb wait-for-device-recovery
|
||||
adb root
|
||||
adb wait-for-online
|
||||
adb wait-for-device-recovery
|
||||
if (adb shell getprop ro.lineage.device | grep -q "$LINEAGE_BUILD");
|
||||
then
|
||||
adb push $OUT/recovery.img /cache/
|
||||
@@ -804,7 +804,6 @@ function dopush()
|
||||
adb connect "$TCPIPPORT"
|
||||
fi
|
||||
adb wait-for-device &> /dev/null
|
||||
sleep 0.3
|
||||
adb remount &> /dev/null
|
||||
|
||||
mkdir -p $OUT
|
||||
|
Reference in New Issue
Block a user