Closed seirespcp closed 3 years ago
In most repositories YAML_PATH
is a reference to extra sdbus++-style or phosphor-logging YAML. It seems like this repository is using just a single YAML file? I would suggest using a different variable name for it in the future.
Also, many other repositories handle this not by passing a path out of the "native" tree, but by passing the machine-specific YAML (or JSON) file via SRC_URI. If possible I would recommend going this direction. Using the "native" tree requires special -native
recipes which are complex and confusing to most people.
There are 14 machine confs that use virtual/phosphor-led-manager-config-native.
For compatibility issues, it's better to keep this option.
But, yes, it could use a clearer variable name.
Getting rid of -native
is tempting though.
When phosphor-led-manager was transitioning from autotools to meson, the ability to set your own yaml path through
EXTRA_OECONF = "YAML_PATH=${STAGING_DATADIR_NATIVE}/${PN}"
was never ported.Instead, it always uses
meson.project_source_root()
.There are several machines installing led.yaml to that yaml_path, and they seem to be broken now.
For example. the lastSuccessfulBuild of romulus from jenkins still has the wrong led groups:
This is the led yaml, and it clearly has more than 6 groups.
Is removing led yaml path option intended and someone's going to update those metas?