summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2022-06-07 10:20:52 +0200
committerJose M. Guisado <jguisado@soleta.eu>2022-06-08 10:27:06 +0200
commit1b5281c2a1eb9e48d28eee1ad7aef7f5bcc21038 (patch)
tree3b4cf684f1cbe91655d1e9c6dcbbfedae7b9cfe1
parentc159c76294b6f22386ae619418cec99f4860cc25 (diff)
live: enable details for libfdisk context objectv1.2.1
Enables details in libfidsk context constructor call. Ensures size are displayed as bytes (and not as a human readable string). Avoids further arithmetical errors (e.g: converting from bytes to KB)
-rw-r--r--src/live/ogOperations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py
index c93212d..a576389 100644
--- a/src/live/ogOperations.py
+++ b/src/live/ogOperations.py
@@ -332,7 +332,7 @@ class OgLiveOperations:
logging.debug('refresh: processing %s', disk)
part_setup = {}
try:
- cxt = fdisk.Context(device=f'/dev/{disk}')
+ cxt = fdisk.Context(device=f'/dev/{disk}', details=True)
except:
continue