Skip to content

Integrate seco-build-configurator/nspa/feature-check and 1 more

Commit: clea-os/tools/seco-build-configurator@c18fbeba

[CORE] Update features check for flavours

The function local_conf_sanity_check has been updated to consider also the variables assigned with :append and += in the local.conf.

The variables are checked over *-feature.conf files which are included in the layers needing mandatory features.

The function shortly does the following:

  • check if the variables in the *-feature.conf are in the local.conf

For each variable both in local.conf and *-feature.conf:

  • if a variable is assigned in local.conf with a different assignment (i.e. 0 vs +=, :append vs +=, etc), return a configuration error.

  • if a variable is assigned in local.conf with a different value than the one in the *-feature.conf, return a configuration error.

  • if a variable is assigned in local.conf`` & -feature.confwith the same values and operators, the one in thelocal.confare removed and the one in-feature.conf` is preserved.

  • if a variable is assigned with :append or += in the local.conf, the common values are removed from local.conf as they are already in *-feature.conf. For example:

    local.conf: VAR:append = " A B"
    *-feature.conf: VAR:append = " A"
    will result in:
    local.conf: VAR:append = " B"
    *-feature.conf: VAR:append = " A"

    the same applies for += but it doesn't for =.

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

--

Commit: clea-os/tools/seco-build-configurator@fcbbeaa4

Bump to version 2.0.1

Changelog:

  • [CICD] Update 'gitlab-ci' revision to the latest avaialable (ref: 2ec5919)

Merge request reports

Loading