[Replicant] [vendor_replicant-scripts] [PATCH 5/6] tests: RecoveryRuntime: fix install_zip
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Fri Jan 7 18:56:07 UTC 2022
Without that fix, the zip wasn't installed.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
tests/src/lib/replicant_releases.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/src/lib/replicant_releases.py b/tests/src/lib/replicant_releases.py
index 096e367..4185dc8 100644
--- a/tests/src/lib/replicant_releases.py
+++ b/tests/src/lib/replicant_releases.py
@@ -216,6 +216,8 @@ class RecoveryRuntime(object):
self.append_recovery_command('--sideload')
self.host.run(['adb', 'reboot', 'recovery'])
+ self.host.run(['adb', 'wait-for-sideload'])
+ self.host.run(['adb', 'sideload', recovery_path])
@trace
def install_boot_img(self, path, retries=100):
--
2.34.1
More information about the Replicant
mailing list