From 7dbea73514b35cbaa18c156895bf6f416b2345ca Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 29 May 2022 11:25:28 +0200 Subject: Cleanup and version changes in prep for release --- archinstall/lib/disk/partition.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/disk/partition.py b/archinstall/lib/disk/partition.py index 151775b1..2c9f50c2 100644 --- a/archinstall/lib/disk/partition.py +++ b/archinstall/lib/disk/partition.py @@ -160,16 +160,6 @@ class Partition: def boot(self) -> bool: output = json.loads(SysCommand(f"sfdisk --json {self.block_device.path}").decode('UTF-8')) - # Get the bootable flag from the sfdisk output: - # { - # "partitiontable": { - # "device":"/dev/loop0", - # "partitions": [ - # {"node":"/dev/loop0p1", "start":2048, "size":10483712, "type":"83", "bootable":true} - # ] - # } - # } - for partition in output.get('partitiontable', {}).get('partitions', []): if partition['node'] == self.path: # first condition is for MBR disks, second for GPT disks -- cgit v1.2.3-54-g00ecf