Process kernelcache in 1mb blocks to prevent freezing on Linux (#6)

* Update kerneldiff.py

* Update kerneldiff.py

* Update kerneldiff.py

* Update kerneldiff.py

* hopefully this works

* Update palera1n.sh
This commit is contained in:
Tom E authored and GitHub committed 2022-09-18 09:02:03 -04:00
1 parent ad21f9e8e7
commit 93a771d89b
2 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -222,7 +222,7 @@ if [ ! -e boot ]; then
if [ "$os" = 'Darwin' ]; then
$dir/img4 -i work/"$(/usr/bin/plutil -extract "BuildIdentities".0."Manifest"."StaticTrustCache"."Info"."Path" xml1 -o - work/BuildManifest.plist | grep '<string>' | cut -d\> -f2 | cut -d\< -f1 | head -1 | sed 's/Firmware\///')" -o boot/trustcache.img4 -M work/IM4M -T rtsc > /dev/null
else
$dir/img4 -i work/"$(Linux/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g'| sed 's/Firmware\///')" -o boot/trustcache.img4 -M work/IM4M -T rtsc > /dev/null
$dir/img4 -i work/"$($dir/PlistBuddy work/BuildManifest.plist -c "Print BuildIdentities:0:Manifest:StaticTrustCache:Info:Path" | sed 's/"//g'| sed 's/Firmware\///')" -o boot/trustcache.img4 -M work/IM4M -T rtsc > /dev/null
fi
#if [[ "$@" == *"install"* ]]; then