ibm-s390-linux / s390-tools

Tools for use with the s390 Linux kernel and device drivers
MIT License
63 stars 60 forks source link

zipl: use the BLS "title" field as the IPL section name #47

Closed martinezjavier closed 5 years ago

martinezjavier commented 5 years ago

Most bootloaders use the BootLoaderSpec "title" field to name the entries in their boot menu. The zipl bootloader used the "version" field instead, since it was wrongly assumed that the zipl boot menu didn't support names that contained spaces, which are usually present in a BLS "title" field.

But this is not the case, names with space characters are supported by the IPL and is just a constraint of the section heading in the zipl.conf file.

So to be consistent with all the other bootloaders, use the "title" field also on zipl when populating the boot menu entries from BLS files.

Signed-off-by: Javier Martinez Canillas javierm@redhat.com