eat: Automated install of fresh builds
Needs:
1 - a build
2 - a connected device
Change-Id: I24820b984e79430b7af7ccedc171fc69269c0a32
envsetup: eat safely
Change-Id: I2d8b52206213d8f4d8dcce3518cadb2be59e78d8
eat more safely, if there is something to eat
Check for zip file presence before trying to eat
Change-Id: I7913be619d189bbd723263edad878d6d05b8a5a7
Fixed eat not waiting for device if adb server was not started
$(adb get-state) returned unexpected starting server message
causing the if statement to fail. Calling "adb start-server"
beforehand remedies that.
Patch Set 2:
$(adb get-state) returns 'unknown' if Clockwork recovery is running on the device
look for /sbin/recovery and 'pass' the state test
also
adb wait-for-device
will result in endless loop, replace with until loop using with get-state OR 'recovery' tests
Patch Set 3:
fix the initial adb state test, use AND instead of OR
Patch Set 4:
Rebased and prevent "device not found" message from spamming the screen by
redirecting error output to null
Change-Id: I2d41b8853567cde80bf7fc08b5e4f0ad5ba1fdf5
Signed-off-by:
Firerat <firer4t@googlemail.com>
Updated for CM9 variables
Loading
Please register or sign in to comment