Help text is not beginner friendly
E.g. what is $workspace
, $patches
and $scriptOutput
.
From looking around the source code, $workspace
should be a path to the root of the Android build directory where the kernel repo (underscores get transformed into slashes - so kernel_something
will look at $workspace/kernel/something
) lives, $patches
the path to a directory containing a directory called Linux
which is a clone of https://gitlab.com/divested/kernel_patches/ and $scriptOutput
appended with android_kernel.sh
will become a shell script that will be applying the patches.
Edited by Luca Weiss