Skip to contentSkip to conversation

lttng-2.0: fix srcrev/pv to match the recipe filenames

PATCH In review Christopher Larson 2 participants 3 messages Oct 22, 2012 – Oct 23, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lttng-2.0: fix srcrev/pv to match the recipe filenames

From: Christopher Larson <[email protected]>

Somehow the recipe names got bumped, but the SRCREV and PVs in the recipes didn't get updated, so they were still building old versions.

---
 meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb | 7 +++----
 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0.4.bb   | 4 ++--
 meta/recipes-kernel/lttng-2.0/lttng2-ust_2.0.5.bb    | 4 ++--
 3 files changed, 7 insertions(+), 8 deletions(-)
meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb +3 -4
index 4c78f36..baae25f 100644
@@ -10,13 +10,12 @@ DEPENDS = "virtual/kernel"
 
 inherit module
 
-SRCREV = "4d3e89e379fc66480d729abe8daa5c86eb585400"
-PV = "2.0.pre11+git${SRCREV}"
+SRCREV = "a848cad4cc82d05493c487a709f6b55f22695ec6"
+PV = "2.0.5"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \
-           file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \
-           file://lttng-sycalls-protect-is_compat_task-from-redefiniti.patch"
+           file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch"
 
 export INSTALL_MOD_DIR="kernel/lttng-modules"
 export KERNEL_SRC="${STAGING_KERNEL_DIR}"
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0.4.bb +2 -2
index e7f1016..0bafcb3 100644
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=61273c2e3f60dd38a74b01beb5f51fbd \
 
 DEPENDS = "liburcu popt lttng2-ust"
 
-SRCREV = "8c3919ea2dc77fdd47fb1c90e41490a20bb4d478"
-PV = "v2.0.1+git${SRCREV}"
+SRCREV = "98c8c95b0e1afb2dac686338efdf036f6446d790"
+PV = "v2.0.4"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git"
meta/recipes-kernel/lttng-2.0/lttng2-ust_2.0.5.bb +2 -2
index 8f650a4..0574fe9 100644
@@ -12,8 +12,8 @@ inherit autotools
 
 DEPENDS = "liburcu util-linux"
 
-SRCREV = "a367ee66aad3ffd21ef64d1b24efc6f862e09562"
-PV = "2.0.2+git${SRCPV}"
+SRCREV = "5fbf75f52c808b648feebea1ed4874c5f6264b05"
+PV = "2.0.5"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git"
Signature · 1 line
1.7.12.4
#1 lore raw
Quoted 21 lines · Christopher Larson

From: Christopher Larson <[email protected]>

Somehow the recipe names got bumped, but the SRCREV and PVs in the recipes didn't get updated, so they were still building old versions.

---
 meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb | 7 +++----
 meta/recipes-kernel/lttng-2.0/lttng-tools_2.0.4.bb   | 4 ++--
 meta/recipes-kernel/lttng-2.0/lttng2-ust_2.0.5.bb    | 4 ++--
 3 files changed, 7 insertions(+), 8 deletions(-)
meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb +0 -1
index 4c78f36..baae25f 100644
@@ -10,13 +10,12 @@ DEPENDS = "virtual/kernel"
 
 inherit module
 
-SRCREV = "4d3e89e379fc66480d729abe8daa5c86eb585400"

meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb DEPENDS = "virtual/kernel" · line 19

Quoted 10 lines
meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb +3 -3
-PV = "2.0.pre11+git${SRCREV}"
+SRCREV = "a848cad4cc82d05493c487a709f6b55f22695ec6"
+PV = "2.0.5"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \
-           file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \
-           file://lttng-sycalls-protect-is_compat_task-from-redefiniti.patch"
+           file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch"
 

I guess the patch for lttng-modules should also remove the patch itself. I sent a patch to do that last week:

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030957.html
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030958.html

which also updated the PV. I didn't update the other lttng recipes as your patch does though, since I was assuming the lttng-modules thing was a typo and had probably been tested with the other recipe versions as they were.

In any case, I did test the other versions once I got it building again, and here's a little writeup of what worked:

https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling#LTTng_.28Linux_Trace_Toolkit.2C_next_generation.29

Tom

Quoted 32 lines
meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.5.bb +0 -0
 export INSTALL_MOD_DIR="kernel/lttng-modules"
 export KERNEL_SRC="${STAGING_KERNEL_DIR}"
meta/recipes-kernel/lttng-2.0/lttng-tools_2.0.4.bb +2 -2
index e7f1016..0bafcb3 100644
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=61273c2e3f60dd38a74b01beb5f51fbd \
 
 DEPENDS = "liburcu popt lttng2-ust"
 
-SRCREV = "8c3919ea2dc77fdd47fb1c90e41490a20bb4d478"
-PV = "v2.0.1+git${SRCREV}"
+SRCREV = "98c8c95b0e1afb2dac686338efdf036f6446d790"
+PV = "v2.0.4"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git"
meta/recipes-kernel/lttng-2.0/lttng2-ust_2.0.5.bb +2 -2
index 8f650a4..0574fe9 100644
@@ -12,8 +12,8 @@ inherit autotools
 
 DEPENDS = "liburcu util-linux"
 
-SRCREV = "a367ee66aad3ffd21ef64d1b24efc6f862e09562"
-PV = "2.0.2+git${SRCPV}"
+SRCREV = "5fbf75f52c808b648feebea1ed4874c5f6264b05"
+PV = "2.0.5"
 PR = "r0"
 
 SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git"
#2 lore raw
Quoted 5 lines · Tom Zanussi

I guess the patch for lttng-modules should also remove the patch itself. I sent a patch to do that last week:

http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030957.html
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-October/030958.html

Indeed, your patch for lttng-modules should be applied, and we'll address the others through a separate commit.

Signature · 1 line
Christopher Larson