Skip to contentSkip to conversation

How can I get the build number during do_install?

DISCUSSION Boszormenyi Zoltan 1 participant 1 message Jun 26, 2015

lore
Share & tools
lore
#0 lore raw

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