Skip to content

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

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

Backport !524 (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