summaryrefslogtreecommitdiffstats
path: root/src/live
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-23 17:15:55 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-10-24 10:52:33 +0200
commit569caa733f9bd99a20c7063b0454b8f764e53e0a (patch)
tree28cee568809e76a4f6e95f526d88301cfcb6c450 /src/live
parentfc21cd988f85e43feb21b8e91efb2a51d5fadc06 (diff)
cache: add code to cache the oglive boot files
Add update_live_cache() implementing the legacy script updateBootCache() Copy the ogvmlinuz and oginitrd.img files into cache after a partition and format command with an available cache partition.
Diffstat (limited to 'src/live')
-rw-r--r--src/live/ogOperations.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index 6f66900..64e5532 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -541,6 +541,7 @@ class OgLiveOperations:
fs = part["filesystem"].lower()
if fs == 'cache':
mount_cache()
+ update_live_cache()
logging.info('Partition setup command OK')
result = self.refresh(ogRest)