[Replicant] [vendor_replicant-scripts] [PATCH 6/6] tests: RecoveryRuntime: install_zip: print full zip path
Denis 'GNUtoo' Carikli
GNUtoo at cyberdimension.org
Fri Jan 7 18:56:08 UTC 2022
Having the full zip path makes it easier for debugging: if it fails
for some reason, with the full path users can then simply look at the
zip and/or retry to sideload it manually.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
tests/src/lib/replicant_releases.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/src/lib/replicant_releases.py b/tests/src/lib/replicant_releases.py
index 4185dc8..4f7774f 100644
--- a/tests/src/lib/replicant_releases.py
+++ b/tests/src/lib/replicant_releases.py
@@ -212,7 +212,8 @@ class RecoveryRuntime(object):
if not self.quiet:
print('RecoveryRuntime.install_zip: '
- + 'Starting to install {} on {}'.format(filename, self.device))
+ + 'Starting to install {} on {}'.format(
+ recovery_path, self.device))
self.append_recovery_command('--sideload')
self.host.run(['adb', 'reboot', 'recovery'])
--
2.34.1
More information about the Replicant
mailing list