Skip to content

YBD gets confused if not run from definitions base directory #235

@leeming

Description

@leeming

Target seems to be calculated with the following
target = os.path.join(config['defdir'], config['target'])
However, if 'defdir' is not set in a config file, CWD is used instead.

This causes issues if trying to run ybd like the following
python ybd.py ../../baserock/definitions/systems/minimal-system-x86_64-generic.morph x86_64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions