diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-03 05:17:32 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-04-03 05:17:32 +0000 |
commit | fd652ded2eb5e0c2c85f79975da38f4e3d34dadb (patch) | |
tree | 7f5c36c9117cba2d48af8849d2f88cb8631a86de /meta/classes | |
parent | 1fb5af0f40ade0282bf1ac6a5c4bc403eae999d8 (diff) | |
download | poky-fd652ded2eb5e0c2c85f79975da38f4e3d34dadb.tar.gz |
insane.bbclass: use 'desktop-file-validate' from staging not from host system
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4159 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 2ef5527dac..d1bea89133 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -313,7 +313,8 @@ def package_qa_check_desktop(path, name, d): | |||
313 | import bb, os | 313 | import bb, os |
314 | sane = True | 314 | sane = True |
315 | if path.endswith(".desktop"): | 315 | if path.endswith(".desktop"): |
316 | output = os.popen("desktop-file-validate %s" % path) | 316 | desktop_file_validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True),'desktop-file-validate') |
317 | output = os.popen("%s %s" % (desktop_file_validate, path)) | ||
317 | # This only produces output on errors | 318 | # This only produces output on errors |
318 | for l in output: | 319 | for l in output: |
319 | sane = package_qa_handle_error(7, l.strip(), name, path, d) | 320 | sane = package_qa_handle_error(7, l.strip(), name, path, d) |