Add version in yocto image

Discussion in 'Yocto' started by modjo, May 10, 2017.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi, i would like to replace the date of a generated yocto image with PR or PV, see under an example that i would (here image for secoA62) :
    now we have :
    and i would like :
    Do you know how i can achieve this ?
     
  2. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I gues you are looking for IMAGE_NAME I have no ready to use recipe how to get the git sha1 into the name but maybe with a environment variable you achieve your goal. At work we are using Jenkins and do rename the image file after a successful build.
     
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks for your tips, i will take a look and let you know what i used ...
     

Share This Page