I am trying to compile the 4.19.10 kernel for Raspberry Pi3 with real-time patch.
I have downloaded and extracted the 4.19.10 zip from https://github.com/archlinuxarm/PKGBUIL ... 3cd9b241e2
And the realtime patch from
https://mirrors.edge.kernel.org/pub/lin ... 8.patch.xz
After I have copied the folder linux-aarch64 to another directory and I have edited the PKGBUILD like this:
$this->bbcode_second_pass_code('', 'cd "${srcdir}/${_srcname}"
### Add rt patch
msg2 "Add rt patch"
patch -Np1 -i ../patch-4.19.10-rt8.patch
# add upstream patch
git apply --whitespace=nowarn ../patch-${pkgver}
...')
However I have always this error:
$this->bbcode_second_pass_code('', 'patching file security/apparmor/include/path.h
patching file security/apparmor/lsm.c
patching file virt/kvm/arm/arm.c
==> ERROR: A failure occurred in prepare().
Aborting...')
Tried to change "git apply" to "patch -Np1 -i ", but result is the same.
I don't think that the problem is real-time patch, since I have tried to apply it directly to source code without errors.
Any advice?