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 <gnu...@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

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to