Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc222a28 authored by Steve Kondik's avatar Steve Kondik
Browse files

envsetup: Wait for device in installboot/installrecovery

 * Useful when you're racing against a bug that causes a kernel panic
   shortly after USB turns on :(

Change-Id: I2a503e4b195e632ed5b67a77b942e80c47d0ff45
parent 43f3bd22
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1477,6 +1477,7 @@ function installboot()
        fi
    fi
    adb start-server
    adb wait-for-device
    adb root
    sleep 1
    adb wait-for-online shell mount /system 2>&1 > /dev/null
@@ -1526,6 +1527,7 @@ function installrecovery()
        fi
    fi
    adb start-server
    adb wait-for-device
    adb root
    sleep 1
    adb wait-for-online shell mount /system 2>&1 >> /dev/null