From fbb5558aef581952331bb73abacd61622f5c3219 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk Date: Fri, 7 Oct 2022 18:19:08 -0600 Subject: [PATCH] sys_patch_helpers: Remove dumplicate checksum check --- resources/sys_patch_helpers.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/resources/sys_patch_helpers.py b/resources/sys_patch_helpers.py index 013091fd5..209c0d79e 100644 --- a/resources/sys_patch_helpers.py +++ b/resources/sys_patch_helpers.py @@ -80,15 +80,6 @@ class sys_patch_helpers: return print(f"- Installing downloaded KDK (this may take a while)") - - print(" - Verifying Checksum of KDK") - # hdiutil verify ./KDK.dmg - result = subprocess.run(["hdiutil", "verify", self.constants.kdk_download_path], stdout=subprocess.PIPE, stderr=subprocess.PIPE) - if result.returncode != 0: - print(f"Error: Kernel Debug Kit checksum verification failed!") - print(f"Output: {result.stderr}") - raise Exception("Kernel Debug Kit checksum verification failed!") - with tempfile.TemporaryDirectory() as mount_point: utilities.process_status(subprocess.run(["hdiutil", "attach", self.constants.kdk_download_path, "-mountpoint", mount_point, "-nobrowse"], stdout=subprocess.PIPE, stderr=subprocess.STDOUT)) # Install the KDK