If the cache isn't mounted, we can't write to the
/cache/recovery/command file.

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

diff --git a/tests/src/lib/replicant_releases.py 
b/tests/src/lib/replicant_releases.py
index b58b646..096e367 100644
--- a/tests/src/lib/replicant_releases.py
+++ b/tests/src/lib/replicant_releases.py
@@ -192,6 +192,7 @@ class RecoveryRuntime(object):
     @trace
     def append_recovery_command(self, command):
         self.wait_for_ready()
+        self.mount_cache()
         self.run(['echo', command, '>>', '/cache/recovery/command'])
 
     @trace
-- 
2.34.1

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

Reply via email to