Patchwork [bitbake-devel,3/5] lib/bb/siggen.py: insert a colon between class and recipe name

login
register
mail settings
Submitter Paul Eggleton
Date Aug. 27, 2012, 8:44 p.m.
Message ID <3aa4187577773c909cc92f789db66154d7bf5b89.1346099795.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/35401/
State New
Headers show

Comments

Paul Eggleton - Aug. 27, 2012, 8:44 p.m.
before:
  virtual:nativeautomake_1.12.1.bb.do_compile
after:
  virtual:native:automake_1.12.1.bb.do_compile

This separation ensures that the key is readable, and if necessary,
parsable.

Unfortunately this invalidates previous native sstate signatures with
OE-Core - not much that can be done about that; however that occurs
frequently during the development cycle so it's par for the course.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 bitbake/lib/bb/siggen.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index b04a8bc..d0a4d18 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -290,7 +290,7 @@  def dump_this_task(outfile, d):
 
 def clean_basepath(a):
     if a.startswith("virtual:"):
-        b = a.rsplit(":", 1)[0] + a.rsplit("/", 1)[1]
+        b = a.rsplit(":", 1)[0] + ":" + a.rsplit("/", 1)[1]
     else:
         b = a.rsplit("/", 1)[1]
     return b