[oe] How can I get the build number during do_install?

Boszormenyi Zoltan zboszor at pr.hu
Fri Jun 26 17:50:48 UTC 2015


Hi,

I want to ship a static text file in a package that contains the full
version string of the package, including the build number that's
auto-generated by bitbake.

According to the Yocto manual, the PRINC variable was something
like what I want but it's long deprecated and at least during do_install
it's set to 0.

Is there a way to do it? Some other variable either during do_install
or pkg_postinst?

Thanks in advance,
Zoltán Böszörményi




More information about the Openembedded-devel mailing list