@@ -206,7 +206,8 @@ def _unpatch_root_vol(self):
206206 kernelcache .KernelCacheSupport (
207207 mount_location_data = self .mount_location_data ,
208208 detected_os = self .constants .detected_os ,
209- skip_root_kmutil_requirement = self .skip_root_kmutil_requirement
209+ skip_root_kmutil_requirement = self .skip_root_kmutil_requirement ,
210+ global_constants = self .constants
210211 ).clean_auxiliary_kc ()
211212
212213 self .constants .root_patcher_succeeded = True
@@ -375,7 +376,8 @@ def _execute_patchset(self, required_patches: dict):
375376 kc_support_obj = kernelcache .KernelCacheSupport (
376377 mount_location_data = self .mount_location_data ,
377378 detected_os = self .constants .detected_os ,
378- skip_root_kmutil_requirement = self .skip_root_kmutil_requirement
379+ skip_root_kmutil_requirement = self .skip_root_kmutil_requirement ,
380+ global_constants = self .constants
379381 )
380382
381383 source_files_path = str (self .constants .payload_local_binaries_root_path )
@@ -536,7 +538,8 @@ def _preflight_checks(self, required_patches: dict, source_files_path: Path) ->
536538 kernelcache .KernelCacheSupport (
537539 mount_location_data = self .mount_location_data ,
538540 detected_os = self .constants .detected_os ,
539- skip_root_kmutil_requirement = self .skip_root_kmutil_requirement
541+ skip_root_kmutil_requirement = self .skip_root_kmutil_requirement ,
542+ global_constants = self .constants
540543 ).clean_auxiliary_kc ()
541544
542545 # Make sure SNB kexts are compatible with the host
0 commit comments