From a846d5e34352cf7591c39c7c884a140acfc5ec78 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Mon, 29 Jul 2024 23:40:38 +0200 Subject: live: unicast-direct does not validate checksum this restore method is unreliable, add warning to the logs. --- src/live/ogOperations.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 086a0b4..7bb2528 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -217,6 +217,7 @@ class OgLiveOperations: if os.access(f'/opt/opengnsys/images', os.R_OK) == False: raise OgError('Cannot access /opt/opengnsys/images in read mode, check permissions') + logging.warn(f'Checksum validation is *NOT* available with UNICAST-DIRECT!') image_path = f'/opt/opengnsys/images/{name}.img' self._restore_image(image_path, devpath) -- cgit v1.2.3-18-g5258