From: Hugo Villeneuve Date: Sun, 7 Dec 2014 17:41:13 +0000 (-0500) Subject: Fix kernel version number when used with git repos X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=dfcb05c4cac2fdf0716aa4ca5cc412960aada01b;p=hvlinux.git Fix kernel version number when used with git repos --- 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}