All of lore.kernel.org
 help / color / mirror / Atom feed
* Remove buildhistory from deb package version
@ 2020-01-21 11:58 Mauro Ziliani
  2020-01-21 17:04 ` [yocto] " Ross Burton
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Ziliani @ 2020-01-21 11:58 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 614 bytes --]

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


[-- Attachment #2: Type: text/html, Size: 1377 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Remove buildhistory from deb package version
  2020-01-21 11:58 Remove buildhistory from deb package version Mauro Ziliani
@ 2020-01-21 17:04 ` Ross Burton
  2020-01-21 17:16   ` Mauro Ziliani
  0 siblings, 1 reply; 3+ messages in thread
From: Ross Burton @ 2020-01-21 17:04 UTC (permalink / raw)
  To: yocto

On 21/01/2020 11:58, Mauro Ziliani wrote:
> 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

That's not buildhistory, that's the PR service.

Comment out PRSERV_HOST.

Ross


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [yocto] Remove buildhistory from deb package version
  2020-01-21 17:04 ` [yocto] " Ross Burton
@ 2020-01-21 17:16   ` Mauro Ziliani
  0 siblings, 0 replies; 3+ messages in thread
From: Mauro Ziliani @ 2020-01-21 17:16 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Thanks,

I commented out the PRSERV_HOST but  all packages keep to have a final .0

All packages have ${PV}-${PR}.0

Only the new packages don't have the final .0 number.

Maybe this value is cached in some file?


MZ


Il 21/01/20 18:04, Ross Burton ha scritto:
> On 21/01/2020 11:58, Mauro Ziliani wrote:
>> 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
>
> That's not buildhistory, that's the PR service.
>
> Comment out PRSERV_HOST.
>
> Ross
>
>
> 

[-- Attachment #2: Type: text/html, Size: 1756 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-21 17:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 11:58 Remove buildhistory from deb package version Mauro Ziliani
2020-01-21 17:04 ` [yocto] " Ross Burton
2020-01-21 17:16   ` Mauro Ziliani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.