On Tue, 2017-01-24 at 11:55 -0600, Matt Hoosier wrote: > In order to support a use-case that embeds information about the Git > revision of Yocto itself that was used to make a build, I would like to > run > some arbitrary Python code and dump the results (Git SHA1's, tag names, > etc) into a Bitbake variable.
Have you looked at image-buildinfo.bbclass? From your description, it seems to do what you want. INHERIT += "image-buildinfo" works well for me... Cheers, Andre' -- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
