[Replicant] [vendor_replicant-scripts] [PATCH 3/6] tests: RecoveryRuntime: make mount_cache device independent

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Fri Jan 7 18:56:05 UTC 2022


The recovery has an fstab file, so we can reuse that to mount the
cache without knowing the path to the cache partition.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at cyberdimension.org>
---
 tests/src/lib/replicant_releases.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/src/lib/replicant_releases.py b/tests/src/lib/replicant_releases.py
index 3da6e47..b58b646 100644
--- a/tests/src/lib/replicant_releases.py
+++ b/tests/src/lib/replicant_releases.py
@@ -186,7 +186,7 @@ class RecoveryRuntime(object):
 
     @trace
     def mount_cache(self):
-        return self.run(['mount', self.get_cache_partition(), '/cache'])
+        self.run(['mount', '/cache'])
 
     # Documentation: bootable/recovery/recovery.cpp
     @trace
-- 
2.34.1



More information about the Replicant mailing list