mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Problem: zipl implementation (specifically the scan code) implicitly assumes that title field is always on the top of BLS file, and this assumption doesn't comply the bootloader standards: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/ Solution: Before parsing in-memory BLS entry, rearrange its lines as following: search for a line with keyword "title" and move it to the top. The scan code is invariant against such transform Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/64 Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>