[OE-core] [PATCH v2] image.bbclass: delete DATE variable too

Richard Purdie rpurdie at rpsys.net
Tue Aug 29 22:48:51 UTC 2017


On Thu, 2017-08-17 at 10:34 -0700, Stefan Agner wrote:
> On 2017-08-29 02:54, Stefan Agner wrote:
> > 
> > From: Stefan Agner <stefan.agner at toradex.com>
> > 
> > When creating a custom image which uses the DATE variable the
> > basehash
> > seems to change every day and lead to errors such as:
> > ERROR: console-tdx-image-2.7.6-r0 do_image_customimg: Error
> > executing
> > a python function in exec_python_func() autogenerated:
> > 
> > The stack trace of python calls that resulted in this
> > exception/failure was:
> > File: 'exec_python_func() autogenerated', lineno: 2, function:
> > <module>
> >      0001:
> >  *** 0002:set_image_size(d)
> > ...
> > 
> > Add DATE to the variables which should not get expanded early and
> > to the
> > vardepsexclude list for the image task.
> Armin, this has been applied to master in between.
> 
> Is there a chance to get that also into pyro and morty?

Possibly but the patch doesn't cleanly apply there so you'd need to
send pyro and morty versions of it.

Cheers,

Richard



More information about the Openembedded-core mailing list