Moving common kernel patches to a specific folder
Usually kernels in pmbootstrap need the same patches for successful compiling, which adds duplication to our repository and confuses newcomers.
Do you think it would be a good idea to keep these common patches (like 00_fix_return_address.patch) in a special folder like aports/device/patches
? Or does it break too much the current build system with APKBUILD files? (e.g. we need to find a new way for checksum with common patches).
This way you would need to just pick up the ones you need (e.g. 00_fix_return_address.patch
and 02_reduce_lzo_compression.patch
) and keep your custom ones in your aport folder. If a patch you have specified in in your sources=
is not present in the folder where APKBUILD is located, then pmbootstrap could go to the common patches folder and copy it to the build directory for your before trying to compile.