Skip to content

snagrecover firmwares.yml: firmware paths should allow relative paths from firmwares.yml #68

@Salamandar

Description

@Salamandar

firmware.yml expects firmware paths to be relative to the current working directory.

It could also allow paths relative to the firmware.yml file itself, e.g:

tiboot3:
    path: {firmware_file_dir}/tiboot3.bin
tispl:
    path: {firmware_file_dir}/tispl.bin
u-boot:
    path: {firmware_file_dir}/u-boot.img

The paths could be resolved with: .format(firmware_file_dir=recovery_config["firmware_file_dir"]) .

This can be used e.g when firmwares are distributed with the relevant yml file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions