Skip to contentSkip to conversation

kvmtool: uprev to latest version

PATCH Superseded Mark Asselstine 1 participant 2 messages May 28, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvmtool: uprev to latest version

Currently on the master branch builds of kvmtool are failing due to several missing headers. We need to only use the uapi headers and we also need the kvmtool upstream commit 1cc05b24bfe0 [x86/kvm-cpu.c:
don't include <asm/msr-index.h>] to get the builds to work. So we can't do this as a fix and uprev and must do both at once in this single commit.

The upstream project does not have releases so using the latest commit and setting the version to 4.14.0 to reflect the kernel version we currently build and which tests were done with, when using Yocto master.

---
 recipes-extended/kvmtool/kvmtool.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/kvmtool/kvmtool.bb +1 -1
index 33fec31..63cc847 100644
@@ -21,7 +21,7 @@ PV = "3.18.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"'
+EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"'
 
 do_install() {
     install -d ${D}${bindir}
Signature · 1 line
2.7.4
#1 lore raw
Quoted 7 lines · Mark Asselstine

Currently on the master branch builds of kvmtool are failing due to several missing headers. We need to only use the uapi headers and we also need the kvmtool upstream commit 1cc05b24bfe0 [x86/kvm-cpu.c:
don't include <asm/msr-index.h>] to get the builds to work. So we can't do this as a fix and uprev and must do both at once in this single commit.

Quoted 7 lines

The upstream project does not have releases so using the latest commit and setting the version to 4.14.0 to reflect the kernel version we currently build and which tests were done with, when using Yocto master.

---

Some changes were missed. I will send a V2.

Mark

Quoted 24 lines
 recipes-extended/kvmtool/kvmtool.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/kvmtool/kvmtool.bb +1 -2
index 33fec31..63cc847 100644
@@ -21,7 +21,7 @@ PV = "3.18.0+git${SRCREV}"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_DIR}/arch/${ARCH}/include -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated/"'
+EXTRA_OEMAKE='V=1 EXTRA_CFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated -I${STAGING_KERNEL_BUILDDIR}/arch/${ARCH}/include/generated"'
 
 do_install() {
     install -d ${D}${bindir}
--

2.7.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization