[yocto] Changing IMAGE_NAME [yocto krogoth]

Mikko.Rapeli at bmw.de Mikko.Rapeli at bmw.de
Wed Apr 10 02:59:20 PDT 2019


On Wed, Apr 10, 2019 at 11:47:42AM +0200, Mauro Ziliani wrote:
> Hi all.
> 
> I need to change the default IMAGE_NAME of my image recipe.
> 
> I make my image recipe as mysystem-image_1.0.bb and I'd like to produce
> and image (tar) with the name
> 
> mysystem-image-1.0-<datetime>.tar
> 
> 
> So I setup
> 
> IMAGE_NAME := "{IMAGE_BASENAME}-${PV}-${DATETIME}"

Should be:

IMAGE_NAME := "${IMAGE_BASENAME}-${PV}-${DATETIME}"

note the added $. I guess that's the bit which confuses bitbake. Been there, done that
too :)

Hope this helps,

-Mikko


More information about the yocto mailing list