Remove buildhistory from deb package version


Mauro Ziliani
 

Hi all.

I need to remove the buildhistory number from final package version


Until now I use in local.conf

PRSERV_HOST = "localhost:0"
BUILDHISTORY_COMMIT = "1"
INHERIT += " buildhistory "

When the package is built the buildhistory number is appended to the version.

i.e.  1.0.0-r0.3

I nee to remove .3 from version.

So I commented out 

#PRSERV_HOST = "localhost:0"
#BUILDHISTORY_COMMIT = "1"
#NHERIT += " buildhistory "

But now every package has always .0 has buildhistory number

i.e. 1.0.0-r0.3  is 1.0.0-r0.0 always.

How can I get 1.0.0-r0?


Best regards,

  MZ

Join yocto@lists.yoctoproject.org to automatically receive all group messages.