xnu: Add new kernel path to autoconfig.
This commit is contained in:
parent
4598cafa7d
commit
7c35f65aac
2 changed files with 6 additions and 0 deletions
|
@ -56,6 +56,9 @@ EOF
|
|||
fi
|
||||
if [ /kernelcache -nt /System/Library/Extensions ]; then
|
||||
$1 /kernelcache boot-uuid=\${uuid} rd=*uuid
|
||||
elif [ -f /System/Library/Kernels/kernel ]; then
|
||||
$1 /System/Library/Kernels/kernel boot-uuid=\${uuid} rd=*uuid
|
||||
xnu_kextdir /System/Library/Extensions
|
||||
else
|
||||
$1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
|
||||
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
|
||||
|
|
|
@ -71,6 +71,9 @@ EOF
|
|||
fi
|
||||
if [ /kernelcache -nt /System/Library/Extensions ]; then
|
||||
$1 /kernelcache boot-uuid=\${uuid} rd=*uuid
|
||||
elif [ -f /System/Library/Kernels/kernel ]; then
|
||||
$1 /System/Library/Kernels/kernel boot-uuid=\${uuid} rd=*uuid
|
||||
xnu_kextdir /System/Library/Extensions
|
||||
else
|
||||
$1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
|
||||
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
|
||||
|
|
Loading…
Reference in a new issue