From 569caa733f9bd99a20c7063b0454b8f764e53e0a Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Wed, 23 Oct 2024 17:15:55 +0200 Subject: 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. --- src/live/ogOperations.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/live/ogOperations.py') 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) -- cgit v1.2.3-18-g5258