summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-14 23:36:51 -0700
committerRobert Yang <liezhi.yang@windriver.com>2015-07-15 02:15:09 -0700
commitd1093e79e1f14f87357657d1a1e473d3325caf22 (patch)
tree5a599b6ba2d85347a75068c4d837ee97889b2a15
parent90ef4fb9301212187b1c86130be8f0b1d26c6e8e (diff)
downloadopenembedded-core-contrib-d1093e79e1f14f87357657d1a1e473d3325caf22.tar.gz
openembedded-core-contrib-d1093e79e1f14f87357657d1a1e473d3325caf22.tar.bz2
openembedded-core-contrib-d1093e79e1f14f87357657d1a1e473d3325caf22.zip
insane.bbclass: make package_qa_clean_path return a relative pathrbt/buildpath
Make package_qa_clean_path() return something like "work/path/to/file" rather than "/work/path/to/file", the relative path is a little clear. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index f1eb60aec4..529068620c 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -161,7 +161,7 @@ def package_qa_get_machine_dict():
def package_qa_clean_path(path,d):
""" Remove the common prefix from the path. In this case it is the TMPDIR"""
- return path.replace(d.getVar('TMPDIR',True),"")
+ return path.replace(d.getVar("TMPDIR", True) + "/", "")
def package_qa_write_error(type, error, d):
logfile = d.getVar('QA_LOGFILE', True)