Reputation: 2397
I am trying to use BitBake variable expansion (e.g., using @@VARIABLE@@) to update version numbers of several components in sw-description file. Here is example of my sw-description file:
software =
{
version = "@@DISTRO_VERSION@@";
description = "Firmware update for Titan";
imx8mm-lpddr4-cdl = {
p1: {
files: (
{
name = "fpga";
version = "@@BB_VERSION@@";
install-if-different = true;
.......
},
..........
However, I can not get it to work. Once I build the .swu image, sw-description file stay unchanged with those "@@...@@" for versions. I believe values like DISTRO_VERSION & BB_VERSION are there by default. My end goal with this is to update version of each component from the handler (.bb Yocto recipe file) that pulls several different repositories during build.
Version of my swupdate is 2018.11.
Does anyone know how this can be fixed?
Upvotes: 0
Views: 515