Skip to content

Backport v2022<-v2023dev3: Move setup_image_version to later in image build

Walter Lozano requested to merge wip/wlozano/base-files-fix-v2022 into apertis/v2022

Backport !513 (merged)

The script setup_image_version.sh is used to add additional metadata to /etc/os-relase which is a file provided by base-files package. Later during the build additional repositories -updates and -security are enabled and packages are upgraded, which can cause this file to be overwritten is a new version of base-files is found.

To avoid the problem of loosing the additional metadata move the call to the script to the end of the recipe.

It is important to note that a later update of the packages can potentially also overwrite this file, however, in that case the additional metadata information will be not longer be valid, so there is no real issue.

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Merge request reports

Loading