* Marc Ferland <ferla...@sonatest.com> [121015 20:56]:

> FYI, I was able to put the SHA1 of each meta data layer by doing:

> def print_layers_version(d):
>       layertext = "Configured metadata layers:\n%s\n" % 
> '\n'.join(get_layers_branch_rev(d))
>       return layertext

> IMAGE_PREPROCESS_COMMAND += "echo "${@print_layers_version(d)}" > /
> ${IMAGE_ROOTFS}/etc/build; "

Ah, nice solution!

That might be something to add to my own /etc/build. You can never get
too much info if some issues turn up...

/Anders

-- 
Anders Darander
ChargeStorm AB / eStorm AB
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to