From dfcb05c4cac2fdf0716aa4ca5cc412960aada01b Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sun, 7 Dec 2014 12:41:13 -0500 Subject: [PATCH] Fix kernel version number when used with git repos --- stage2/pkg/kernel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage2/pkg/kernel b/stage2/pkg/kernel index 6e9fe24..d2e8fe1 100644 --- a/stage2/pkg/kernel +++ b/stage2/pkg/kernel @@ -30,7 +30,7 @@ make -j ${MAKEJOBS} make -j ${MAKEJOBS} modules make INSTALL_MOD_PATH=${ROOTDIR} modules_install -KERNEL_VERSION=$(make -s kernelversion) +KERNEL_VERSION=$(make -s kernelrelease) KERNEL_NAME=vmlinuz cp -v arch/${ARCH}/boot/bzImage ${DEST}/${KERNEL_NAME}-${KERNEL_VERSION} -- 2.20.1