summaryrefslogtreecommitdiffstats
path: root/recipes-test
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2020-04-28 16:28:14 +0000
committerLaurent Bonnans <laurent.bonnans@here.com>2020-06-02 12:05:40 +0200
commitcca888367cd3aeaff44ff12f129bbbfa68cb64e7 (patch)
tree7a0add49801965f92db83f902f39a0da9a3cd905 /recipes-test
parent54a65084b844afa651d2746006fe917d84febc9f (diff)
downloadmeta-updater-cca888367cd3aeaff44ff12f129bbbfa68cb64e7.tar.gz
image_types_ostree/ota: use hash from ostree commit
Relying on a OSTree branch reference has been problematic in the past and addressed by adding more attributes to it in commit 202a8c70ba8c ("image_types_ostree: Add a unique ref to fix simultaneous bitbaking."). However, depening on what kind of OpenEmbedded builds are running in parallel, even more attributes would need to be taken into account. Instead of relying on a reference, store the exact ostree commit hash in a manifest file and reuse it in the do_image_ota deploy task. This guarantees that the correct reference gets picked even when two builds with the exact same machine/image name run in parallel. Note: This gets rid of the second branch name again. If the branch name with image name is preferred, the variable OSTREE_BRANCHNAME can be used: OSTREE_BRANCHNAME = "${SOTA_HARDWARE_ID}-${IMAGE_BASENAME}" Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'recipes-test')
0 files changed, 0 insertions, 0 deletions