mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: add an ability to specify components location
When creating a bootmap, look for zipl components (stage3.bin and zipl helpers) in a directory specified by S390TOOLS_LIBDIR shell environment variable. If that variable is not set, then look for them at the default location. In verbose mode print the name of s390-tools library directory, where the search was implemented. Signed-off-by: Eduard Shishkin <edward6@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
a645ec0fc0
commit
ebde75eeda
@@ -1920,6 +1920,9 @@ job_get(int argc, char* argv[], struct job_data** data)
|
||||
job->data.mvdump.force = cmdline.force;
|
||||
job->dry_run = cmdline.dry_run;
|
||||
job->is_secure = SECURE_BOOT_UNDEFINED;
|
||||
if (job->verbose)
|
||||
printf("Looking for components in '%s'\n", util_libdir());
|
||||
|
||||
/* Get job data from user input */
|
||||
if (cmdline.help) {
|
||||
job->command_line = 1;
|
||||
|
||||
Reference in New Issue
Block a user