mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Fix a design mistake leading to IPL programs corruption. Use a matrix of component ranges to locate the added components in the body of bootmap file instead of an array. Earlier an array of NR_PROGRAM_COMPONENTS was used, which is incorrect Now a matrix of (NR_PROGRAM_COMPONENTS X BOOT_MENU_ENTRIES) is used. Don't duplicate environment block for each menu entry. Instead, reuse the one that was added when processing the first menu entry. Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com> Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>