Skip to contentSkip to conversation

uftrace: Fix PR

PATCH In review Adrian Bunk 2 participants 2 messages May 6, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uftrace: Fix PR

The latest update moved uftrace from a stable release to a git snapshot.

Adjust PR accordingly.

---
 meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb +2 -1
index c33fa048c..732fe3b45 100644
@@ -10,12 +10,13 @@ DEPENDS_append_libc-musl = " argp-standalone"
 
 inherit autotools
 
-# v0.9.4
 SRCREV = "d648bbffedef529220896283fb59e35531c13804"
 SRC_URI = "git://github.com/namhyung/${BPN} \
            "
 S = "${WORKDIR}/git"
 
+PR .= "+git${SRCPV}"
+
 LDFLAGS_append_libc-musl = " -largp"
 
 def set_target_arch(d):
Signature · 1 line
2.17.1
#1 lore raw
Quoted 5 lines · Adrian Bunk

The latest update moved uftrace from a stable release to a git snapshot.

Adjust PR accordingly.

Out of curiosity: Why not PN?

Andreas

Quoted 29 lines
---
 meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/uftrace/uftrace_0.9.4.bb +2 -2
index c33fa048c..732fe3b45 100644
@@ -10,12 +10,13 @@ DEPENDS_append_libc-musl = " argp-standalone"
 
 inherit autotools
 
-# v0.9.4
 SRCREV = "d648bbffedef529220896283fb59e35531c13804"
 SRC_URI = "git://github.com/namhyung/${BPN} \
            "
 S = "${WORKDIR}/git"
 
+PR .= "+git${SRCPV}"
+
 LDFLAGS_append_libc-musl = " -largp"
 
 def set_target_arch(d):
--

2.17.1