Skip to content

[SRCREV] Add references to SRCREV.conf including files instead of copying content

Nicola Sparnacci requested to merge nspa/srcrev-update into scarthgap-dev

The SRCREV.conf in the build folder is populated with:

require ../layers/path/to/SRCREV.conf

instead of copying the content of each SRCREV.conf directly. This fixes a problem when the user edited the layers's SRCREV.conf but didn't see any change on the build because he/she didn't edit the SRCREV.conf in the build directory.

Moreover, the SRCREV.conf files to include in the build SRCREV.conf are discovered processing all the layers added in the bblayers.conf (only for layers in meta-seco folder).

If there is a custom layer, its SRCREV.conf is the last one included so that its content has the priority.

The custom layers need to be placed into meta-seco folder.

Update tests for SRCREV.conf handling.

SRCREV.conf example:

require ../layers/meta-seco/meta-seco-rk/conf/SRCREV.conf

# Custom SRCREV.conf
require ../layers/meta-seco/meta-seco-xxx/conf/SRCREV.conf

Version bump type: [MINOR]

Signed-off-by: Nicola Sparnacci nicola.sparnacci@seco.com

Edited by Nicola Sparnacci

Merge request reports

Loading