Thanks I'll try your suggestion
Il 11/04/19 13:12, Alexander Kanavin ha scritto: > You need to use vardepsexclude (read in the bitbake manual how to). > > Generally I am not a fan of putting timestamps into anything > yocto-built, it's prone to issues like this, breaks reproducibility, > and also subverts sstate if not managed carefully. I'd almost suggest > you build the image with a default name, and then rename it after the > fact when deploying to some artefact storage. > > Alex > > On Thu, 11 Apr 2019 at 11:30, Mauro Ziliani <ma...@faresoftware.it> wrote: >> Thanks >> >> It was a typing error. >> >> In my recipe I set the value as you told me. >> >> But the ERROR keep on show >> >> >> Il 10/04/19 11:59, mikko.rap...@bmw.de ha scritto: >>> 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 >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto