Skip to content
Permalink
macos1101b1
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
#!/bin/bash
# Iterates through all Kexts marked as required in the boot kext collection,
# and prints out which ones require ACPI (and thus won't work on arm64e)
# The output is formatted as elide-identifier arguments to kmutil, which can
# be copy-pasted into build_arm64e_kcache.sh.
set -e
IFS='
'
for i in $(find /System/Library/Extensions -name Info.plist)
do
if egrep -q "<string>(Root|Console)</string>" "$i" && \
grep -q "<key>com.apple.iokit.IOACPIFamily</key>" "$i"
then
identifier=$(grep -A 1 -m 2 "CFBundleIdentifier" "$i" | \
head -n 2|tail -n 1|sed -e "s/.*<string>//g" -e "s@</string>@@g")
echo "--elide-identifier $identifier \\"
fi
done