When attempting to build backport package the error message "Kernel version parse failed" popped up. Realizing the machine was already running a 4.0-rc1 kernel, this patch fixes the issue. At least until kernel 9.x it will. Signed-off-by: Arend van Spriel <arend@xxxxxxxxxxxx> --- backport/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backport/Makefile b/backport/Makefile index c21b813..1c39f64 100644 --- a/backport/Makefile +++ b/backport/Makefile @@ -85,7 +85,7 @@ mrproper: done \ ) > Kconfig.kernel ;\ kver=$$($(MAKE) --no-print-directory -C $(KLIB_BUILD) kernelversion | \ - sed 's/^\(\(3\|2\.6\)\.[0-9]\+\).*/\1/;t;d') ;\ + sed 's/^\(\([3-9]\|2\.6\)\.[0-9]\+\).*/\1/;t;d') ;\ test "$$kver" != "" || echo "Kernel version parse failed!" ;\ test "$$kver" != "" ;\ kvers="$$(seq 14 39 | sed 's/^/2.6./')" ;\ -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html