mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl/src: Reuse data of file components in bootmap
If the option '--add-files' is specified, don't duplicate data of components added via add_component_file() and friends to bootmap file for each mirror. Instead, reuse the data that were added when preparing a program table for the first mirror to create metadata (block lists, program tables, etc) specific for other mirrors. Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Reviewed-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
committed by
Steffen Eiden
parent
731f00202c
commit
431e4542ca
@@ -80,6 +80,7 @@ struct install_set {
|
||||
int nr_menu_entries;
|
||||
struct misc_fd mfd;
|
||||
struct install_set_mirror mirrors[MAX_TARGETS];
|
||||
struct file_range comp_reg[NR_PROGRAM_COMPONENTS];
|
||||
char *filename;
|
||||
unsigned int skip_prepare_device:1;
|
||||
unsigned int tmp_filename_created:1;
|
||||
|
||||
Reference in New Issue
Block a user