Naming images


Damien LEFEVRE
 

Hi,

In my build system the generated images are in this format:

imagename-machine-timestamp.img

For release builds, I'd like to replace the time stamp with the image version. I could rename the image after the build but is there a better way?

I found a BUILDNAME variable but it has no effect.

Also should the timestamp written in /etc/version match the one from the image name?

For some reason for me it doesn't. /etc/version is 20180309123456 while the one from the image name is 20210329064542.

-Damien

Join yocto@lists.yoctoproject.org to automatically receive all group messages.