sys_patch.py: Add additional preflight checks

This commit is contained in:
Mykola Grymalyuk
2022-05-06 11:04:41 -06:00
parent 0c5017a16a
commit b39f2a1d5d
6 changed files with 181 additions and 54 deletions

View File

@@ -220,7 +220,7 @@ class detect_root_patch:
return True
def generate_patchset(self, hardware_details):
all_hardware_patchset = sys_patch_dict.SystemPatchDictionary(self.constants.detected_os)
all_hardware_patchset = sys_patch_dict.SystemPatchDictionary(self.constants.detected_os, self.constants.detected_os_minor)
required_patches = {}
utilities.cls()
print("- The following patches will be applied:")