Skip to contentSkip to conversation

xvisor: set PV

PATCH In review Martin Jansa 2 participants 2 messages Nov 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xvisor: set PV

* use something more reasonable than default 'git' from filename
* there wasn't a new tag for a long time, so this is quite far from 0.3.0 as git describe shows:
v0.3.0-231-g6b23764a
but 0.3.0 is still the closest release I've found and matches PROJECT_VERSION in Makefile:
https://github.com/avpatel/xvisor-next/blob/6b23764a1439f9d08b2ed2f363da522460d8a22b/Makefile#L29

---
 recipes-extended/xvisor/xvisor_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/xvisor/xvisor_git.bb +2 -0
index 4d2a719..26b4e0f 100644
@@ -8,6 +8,8 @@ require xvisor-configs.inc
 
 inherit autotools-brokensep
 
+PV = "0.3.0+git${SRCPV}"
+
 # This version support the RISC-V v0.5.0 Hypervisor extensions
 SRCREV = "6b23764a1439f9d08b2ed2f363da522460d8a22b"
 SRC_URI = "git://github.com/avpatel/xvisor-next.git;branch=master;protocol=https \
Signature · 1 line
2.32.0
#1 lore raw
Quoted 9 lines · Martin Jansa

* use something more reasonable than default 'git' from filename
* there wasn't a new tag for a long time, so this is quite far from 0.3.0 as git describe shows:
v0.3.0-231-g6b23764a
but 0.3.0 is still the closest release I've found and matches PROJECT_VERSION in Makefile:
https://github.com/avpatel/xvisor-next/blob/6b23764a1439f9d08b2ed2f363da522460d8a22b/Makefile#L29

I had noticed this as well (I struggled on the commit message so just went for 'tip') and had meant to circle back to it.

Thanks for the patch, it is now merged.

Bruce

Quoted 19 lines
---
 recipes-extended/xvisor/xvisor_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-extended/xvisor/xvisor_git.bb +2 -1
index 4d2a719..26b4e0f 100644
@@ -8,6 +8,8 @@ require xvisor-configs.inc
 
 inherit autotools-brokensep
 
+PV = "0.3.0+git${SRCPV}"
+
 # This version support the RISC-V v0.5.0 Hypervisor extensions
 SRCREV = "6b23764a1439f9d08b2ed2f363da522460d8a22b"
 SRC_URI = "git://github.com/avpatel/xvisor-next.git;branch=master;protocol=https \
--
Quoted 5 lines

2.32.0

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II