I successfully built an armbian image with PREEMPT_RT kernel, by changing line 52 in armbian/lib/functions/compilation/kernel-debs.sh into:
declare kernel_version_family="${kernel_version}-rt48-${BRANCH}-${LINUXFAMILY}"
This isn't a valid solution, but it worked for me, for this moment.
root@lime2 ~ # uname -a
Linux lime2 6.6.75-rt48-current-sunxi #19 SMP Sat Feb 1 17:37:57 UTC 2025 armv7l armv7l armv7l GNU/Linux
Limitations:
- works only for rt48
- kernel 6.6.75
- patch-6.6.74-rt48.patch.xz
It is not possible to pin the build process to specific kernel version tags. The option exists, but it has no effect. Any hints on how to pin the builder to a specific kernel would be helpful to reproduce this build in the future.