xnu: Add new kernel path to autoconfig.

This commit is contained in:
Vladimir Serbinenko committed 2016-02-12 15:42:26 +01:00
1 parent 4598cafa7d
commit 7c35f65aac
2 files changed
+6

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ EOF
fi fi
if [ /kernelcache -nt /System/Library/Extensions ]; then if [ /kernelcache -nt /System/Library/Extensions ]; then
$1 /kernelcache boot-uuid=\${uuid} rd=*uuid $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 else
$1 /mach_kernel boot-uuid=\${uuid} rd=*uuid $1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then
+3
View File
@@ -71,6 +71,9 @@ EOF
fi fi
if [ /kernelcache -nt /System/Library/Extensions ]; then if [ /kernelcache -nt /System/Library/Extensions ]; then
$1 /kernelcache boot-uuid=\${uuid} rd=*uuid $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 else
$1 /mach_kernel boot-uuid=\${uuid} rd=*uuid $1 /mach_kernel boot-uuid=\${uuid} rd=*uuid
if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then if [ /System/Library/Extensions.mkext -nt /System/Library/Extensions ]; then