From fd652ded2eb5e0c2c85f79975da38f4e3d34dadb Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 3 Apr 2008 05:17:32 +0000 Subject: 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 --- meta/classes/insane.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 2ef5527da..d1bea8913 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -313,7 +313,8 @@ def package_qa_check_desktop(path, name, d): import bb, os sane = True if path.endswith(".desktop"): - output = os.popen("desktop-file-validate %s" % path) + desktop_file_validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True),'desktop-file-validate') + output = os.popen("%s %s" % (desktop_file_validate, path)) # This only produces output on errors for l in output: sane = package_qa_handle_error(7, l.strip(), name, path, d) -- cgit v1.2.3