diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-07-14 23:36:51 -0700 |
---|---|---|
committer | Robert Yang <liezhi.yang@windriver.com> | 2015-09-15 19:23:59 -0700 |
commit | df9ebc20e08cd18130e175d7ffb45ad6bf2ba911 (patch) | |
tree | 711a8c49f7299011265937f03ee91cc9d8a92ab2 | |
parent | 6f49ee1c3fac0a39d8976d7c74000ad507031516 (diff) | |
download | openembedded-core-contrib-rbt/resend.tar.gz |
insane.bbclass: make package_qa_clean_path return a relative pathrbt/resend
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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 943ada83c8..628b63fd23 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -166,7 +166,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) |