diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-23 17:15:55 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-24 10:52:33 +0200 |
commit | 569caa733f9bd99a20c7063b0454b8f764e53e0a (patch) | |
tree | 28cee568809e76a4f6e95f526d88301cfcb6c450 /src/live | |
parent | fc21cd988f85e43feb21b8e91efb2a51d5fadc06 (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.py | 1 |
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) |