mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: add value of target= as search path for BLS case
In the BLS files, the 'linux' and 'initrd' fields are relative to the $BOOT directory. If $BOOT is a mount point of boot partition, 'linux' and 'initrd' fields are relative to boot partition. If not, the paths are relative to $BOOT directory of root partition. zipl always starts searching at / regardless of partitions and mount points. This commit extends the semantics of target= field in zipl.conf to make it as a second search path, besides /, for those 2 BLS fields. See issues #69 for more details. Fixes: https://github.com/ibm-s390-tools/s390-tools/issues/69 Closes: https://github.com/ibm-s390-tools/s390-tools/pull/74 Signed-off-by: Tuan Hoang <tmhoang@linux.ibm.com> Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
@@ -126,6 +126,7 @@ char* scan_keyword_name(enum scan_keyword_id id);
|
||||
int scan_check_defaultboot(struct scan_token* scan);
|
||||
struct scan_token* scan_build_automenu(struct scan_token* scan);
|
||||
int scan_check(struct scan_token* scan);
|
||||
int scan_check_bls(struct scan_token *scan);
|
||||
int scan_find_section(struct scan_token* scan, char* name, enum scan_id type,
|
||||
int offset);
|
||||
int scan_check_section_data(char* keyword[], int* line, char* name,
|
||||
|
||||
Reference in New Issue
Block a user