[bitbake-devel] [PATCH 1/1] siggen.py: fix clean_basepath()

Robert Yang liezhi.yang at windriver.com
Thu Sep 24 08:20:14 UTC 2015


Fixed:
$ bitbake-diffsigs tmp/stamps/x86_64-linux/quilt-native/0.64-r0.do_patch.sigdata.foo tmp/stamps/x86_64-linux/quilt-native/0.64-r0.do_fetch.sigdata.foo
[snip]
runtaskdeps changed from ['quiltquilt-native_0.64.bb.do_unpack'] to []

Note the "quiltquilt-native".

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 bitbake/lib/bb/siggen.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 2985272..46fd2fc 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -303,7 +303,7 @@ def dump_this_task(outfile, d):
     bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile")
 
 def clean_basepath(a):
-    b = a.rsplit("/", 2)[1] + a.rsplit("/", 2)[2]
+    b = a.rsplit("/", 2)[2]
     if a.startswith("virtual:"):
         b = b + ":" + a.rsplit(":", 1)[0]
     return b
-- 
1.7.9.5




More information about the bitbake-devel mailing list