Skip to content

scripts: add layer parent dependency and unify dependency format#228

Open
MykolaSuperman wants to merge 1 commit intoaosedge:developfrom
MykolaSuperman:layer-parent-dependency
Open

scripts: add layer parent dependency and unify dependency format#228
MykolaSuperman wants to merge 1 commit intoaosedge:developfrom
MykolaSuperman:layer-parent-dependency

Conversation

@MykolaSuperman
Copy link
Copy Markdown
Contributor

Layers can now declare a single dependency: {item, versions} referring to another item by name. layer_builder topologically sorts items, then passes the parent's bitbake target as AOS_PARENT_LAYER, so the diff rootfs is computed against the parent layer instead of the base image.

metadata_builder._create_dependencies now consumes the same singular dependency form and emits a single-element dependencies list. The fota builder is updated to use the same yaml shape (metadata only, no build-time effect), replacing the previous plural dependencies.

Layers can now declare a single `dependency: {item, versions}` referring
to another item by name. layer_builder topologically sorts items, then
passes the parent's bitbake target as AOS_PARENT_LAYER, so the diff
rootfs is computed against the parent layer instead of the base image.

metadata_builder._create_dependencies now consumes the same singular
`dependency` form and emits a single-element dependencies list. The
fota builder is updated to use the same yaml shape (metadata only,
no build-time effect), replacing the previous plural `dependencies`.

Signed-off-by: Mykola Solianko <mykola_solianko@epam.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant