summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass3
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)