summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerate_bls_conf.sh1
-rw-r--r--kernel.spec3
2 files changed, 4 insertions, 0 deletions
diff --git a/generate_bls_conf.sh b/generate_bls_conf.sh
index 8d9ec0699..fa84eae5a 100755
--- a/generate_bls_conf.sh
+++ b/generate_bls_conf.sh
@@ -18,6 +18,7 @@ fi
cat >${output} <<EOF
title ${NAME} (${kernelver}) ${VERSION}${debugname}
+version ${kernelver}
linux ${bootprefix}/vmlinuz-${kernelver}
initrd ${bootprefix}/initramfs-${kernelver}.img
options \$kernelopts
diff --git a/kernel.spec b/kernel.spec
index ddb294fd2..b634f5b3c 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1875,6 +1875,9 @@ fi
#
#
%changelog
+* Mon Mar 19 2018 Javier Martinez Canillas <javierm@redhat.com>
+- Include version field to generated BLS configuration fragment
+
* Mon Mar 19 2018 Jeremy Cline <jeremy@jcline.org> - 4.16.0-0.rc6.git0.1
- Linux v4.16-rc6