mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
When installing a boot record for "ipl" and "menu" job, always add an environment block as a boot component located in bootmap file at offset alinged on file system block size boundary. When adding, first try to import environment from a file at location specified by newly introduced "--environment" zipl option, or by default at "/etc/ziplenv". If nothing was imported, then add a blank environment block. Optionally print the content of the environment block. Store environment block size and address (as of boot component) in stage3_parms. Change interface of add_ipl_program(): add 2 additional arguments: a pointer to bootmap file name and a predicate indicating if we need to add environment block as a boot component. Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
1.6 KiB
1.6 KiB