@@ -, +, @@ --- targets/support/kmerge.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/targets/support/kmerge.sh +++ a/targets/support/kmerge.sh @@ -129,7 +129,11 @@ if [[ -n ${clst_kextraversion} ]]; then /usr/src/linux/Makefile fi -genkernel_compile +if [[ "$clst_boot_kernel_${kname}_sources" == *"gentoo-kernel"* || "$clst_boot_kernel_${kname}_sources" == *"vanilla-kernel"* ]]; then + echo "Spec file points to -dist kernel package instead of sources; skipping kernel build" +else + genkernel_compile +fi # Write out CONFIG, USE, VERSION, and EXTRAVERSION files if [[ -n ${clst_KERNCACHE} && ! ${cached_kernel_found} ]]; then --