From f2c3d31f4cc4a33a0adb73d4e9534dfcdfeb362d Mon Sep 17 00:00:00 2001 From: Alban Crequy Date: Sat, 17 Dec 2016 17:37:41 +0100 Subject: [PATCH] KVM: add a dash in kernel LOCALVERSION This patch should change `uname -r` from `4.8.6rkt-v1` to `4.8.6-rkt-v1`. The missing dash was breaking some scripts to parse the kernel release. Arguably, those scripts were buggy and need to be fixed, but usually CONFIG_LOCALVERSION starts with a "-" (at least on Fedora and Arch). --- stage1/usr_from_kvm/kernel/cutdown-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage1/usr_from_kvm/kernel/cutdown-config b/stage1/usr_from_kvm/kernel/cutdown-config index 542856bb04..ede4c6b910 100644 --- a/stage1/usr_from_kvm/kernel/cutdown-config +++ b/stage1/usr_from_kvm/kernel/cutdown-config @@ -52,7 +52,7 @@ CONFIG_BUILDTIME_EXTABLE_SORT=y CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_CROSS_COMPILE="" # CONFIG_COMPILE_TEST is not set -CONFIG_LOCALVERSION="rkt-v1" +CONFIG_LOCALVERSION="-rkt-v1" # CONFIG_LOCALVERSION_AUTO is not set CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y