diff --git a/base/linux26/linux-conf.in b/base/linux26/linux-conf.in index ec528c6d0..6c321a2aa 100644 --- a/base/linux26/linux-conf.in +++ b/base/linux26/linux-conf.in @@ -207,6 +207,10 @@ lx_injectextraversion () { version_header=linux/utsrelease.h fi + if [ -f include/generated/utsrelease.h ]; then + version_header=generated/utsrelease.h + fi + # inject final EXTRAVERSION into Makefile sed -i -e "s,^\([ \t]*EXTRAVERSION[ \t]*\)=.*,\1= ${lx_extraversion},g" Makefile