seapath / meta-seapath

This is the core of the seapath project. The meta-seapath repo contains the yocto Seapath layer, which contains all the code (yocto recipes) needed to build the seapath images used to install seapath (host, guest, flasher, etc.)
Apache License 2.0
6 stars 10 forks source link

distro: replace PREFERRED_VERSION by REQUIRED_VERSION #121

Closed dupremathieu closed 1 year ago

dupremathieu commented 1 year ago

Previously, 'PREFERRED_VERSION' was used to specify the preferred version of a recipe in the 'distro' module. With this if the version is not found a warning will be raised and another version is used instead. To avoid this, 'REQUIRED_VERSION' is now used instead of 'PREFERRED_VERSION'. This generates an error if the required version is not found, instead of a warning. This change should help to prevent unexpected behavior and make the code more robust.