Re: Changing IMAGE_NAME [yocto krogoth]


Mikko Rapeli
 

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

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