[yocto] [Yocto] What is the preferred way to add build data to os-release

Måns Zigher mans.zigher at gmail.com
Thu Mar 29 01:08:31 PDT 2018


Hi,

I see a lot of systems making use of the /etc/os-release where they put in
build information like sha, build numbers and version numbers. When doing
that you will encounter basehash errors and taskhash errors from bitbake in
my experience (or I might be doing something wrong). To remove these errors
adjustments needs to be taken on the os-release recipe.  These adjustments
will likely result in re-generating rootfs everytime. Is this really what
is the preferred way of doing things? If not, what is the preferred way of
getting build data included in the os-release?

BR
Mans Zigher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180329/e7e10314/attachment.html>


More information about the yocto mailing list