Include version field to generated BLS configuration fragment
The BootLoaderSpec defines an optional version field that contains a human readable version string for the menu item. This can be used by bootloaders to set the boot menu item names instead of the optional title field. For example the zipl bootloader used by s390x architecture doesn't support names that contains spaces, so it uses the kernel version as the item name. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
This commit is contained in:
parent
9ecbabc75e
commit
2531049324
@ -18,6 +18,7 @@ fi
|
|||||||
|
|
||||||
cat >${output} <<EOF
|
cat >${output} <<EOF
|
||||||
title ${NAME} (${kernelver}) ${VERSION}${debugname}
|
title ${NAME} (${kernelver}) ${VERSION}${debugname}
|
||||||
|
version ${kernelver}
|
||||||
linux ${bootprefix}/vmlinuz-${kernelver}
|
linux ${bootprefix}/vmlinuz-${kernelver}
|
||||||
initrd ${bootprefix}/initramfs-${kernelver}.img
|
initrd ${bootprefix}/initramfs-${kernelver}.img
|
||||||
options \$kernelopts
|
options \$kernelopts
|
||||||
|
@ -1875,6 +1875,9 @@ fi
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
%changelog
|
%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
|
* Mon Mar 19 2018 Jeremy Cline <jeremy@jcline.org> - 4.16.0-0.rc6.git0.1
|
||||||
- Linux v4.16-rc6
|
- Linux v4.16-rc6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user