Skip to content

Commit

Permalink
script: use kptools parse ikconfig,because some device don't support …
Browse files Browse the repository at this point in the history
…abo option
  • Loading branch information
Admirepowered committed Nov 15, 2024
1 parent a2a7bb8 commit 5377f79
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion app/src/main/assets/boot_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ echo "- Unpacking boot image"
fi
fi

if [ ! $(sh extract-ikconfig kernel | grep CONFIG_KALLSYMS=y) ]; then
if [ ! $(./kptools -i kernel -f | grep CONFIG_KALLSYMS=y) ]; then
echo "- Patcher has Aborted!"
echo "- APatch requires CONFIG_KALLSYMS to be Enabled."
echo "- But your kernel seems NOT enabled it."
Expand Down
26 changes: 0 additions & 26 deletions app/src/main/assets/extract-ikconfig

This file was deleted.

0 comments on commit 5377f79

Please sign in to comment.