bmax121 / KernelPatch

Patching and hooking the Linux kernel with only a stripped Linux kernel image.
GNU General Public License v2.0
735 stars 127 forks source link

Feature request: statically compile kptools-linux and kptools-android #132

Open jroovy opened 4 weeks ago

jroovy commented 4 weeks ago

Is your feature request related to a problem? Please describe. I am unable to run kptools-linux in distros that don't use glibc (example: alpine linux). Also unable to run kptools-android in recovery mode.

Describe the solution you'd like Statically compiling kptools-linux will allow it to run on any x86_64 distro, regardless if they are using glibc or not. And statically compiling kptools-android will allow it to run in recovery mode, assuming:

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Current versions of kptools-android and kptools-linux are dynamically compiled, meaning they need the system's libraries to function. Static compile will solve this issue by bundling all dependencies inside the binary.