- Introduced DEFAULT_IMAGE_VERSION and COMPATIBLE_IMAGE_VERSIONS for
flexible version management.
- Mapped multiple compatible versions to a single configuration block
to avoid duplication.
- Ensured IMAGE_VERSION adjusts dynamically based on user input,
with validation against COMPATIBLE_IMAGE_VERSIONS.
- Streamlined environment variable naming and organized source
layer configuration.
- Added conditional execution for Python2 layer fetching based on the
presence of PYTHON2_SRCREV.
This commit improves the script's maintainability and robustness by clarifying version management and optimizing configuration handling.
- Update DIST_BASEDIR assignment to use $DIST_DIR for improved
clarity and consistency in directory management.
- Rename HTTPD_DIST_HOSTNAME and HTTPD_DIST_DIR to
UPDATE_SERVER_URL and DIST_DIR respectively, across the script to
better reflect their purpose and usage.
- Introduce LOCAL_CONFIG_FILE_INC_PATH variable initialization in
the global scope for enhanced script modularity and maintainability.
- Adjust getopt configuration to align with the renamed and newly
introduced variables.
Update via ./init.sh will now clone and update to defined and testet
yocto release.
A general update is disabled with variable $YOCTO_LAYER_DO_UPDATE=0
Reason: yocto recomends not to modify any parts of the yocto repositories. becaus all
Local changes can be done in your local layers e.g. with bbappend files.
see also: https://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#using-bbappend-files
Another point is, the defined relase version is tested and should working
with our build.