diff options
author | Ross Burton <ross@openedhand.com> | 2007-11-14 09:48:17 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2007-11-14 09:48:17 +0000 |
commit | 5477906ca1295337ae7c1597254f02687d60098c (patch) | |
tree | bee1a6dec7926607d6ac16be669d4dd86c3d7bd9 /meta/classes/insane.bbclass | |
parent | ab2a04d8434ef5f0acbe2e7ea89ad8c1ed291264 (diff) | |
download | poky-5477906ca1295337ae7c1597254f02687d60098c.tar.gz |
insane.bbclass: use bb.error when reporting desktop file problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3152 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 7b7175232d..bc72ea5b3b 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -318,7 +318,10 @@ def package_qa_check_desktop(path, name, d): | |||
318 | import bb, os | 318 | import bb, os |
319 | if path.endswith(".desktop"): | 319 | if path.endswith(".desktop"): |
320 | validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True), 'desktop-file-validate') | 320 | validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True), 'desktop-file-validate') |
321 | os.system ("%s %s" % (validate, path)) | 321 | output = os.popen("%s %s" % (validate, path)) |
322 | # This only produces output on errors | ||
323 | for l in output: | ||
324 | bb.error(l.strip()) | ||
322 | return True | 325 | return True |
323 | 326 | ||
324 | def package_qa_check_staged(path,d): | 327 | def package_qa_check_staged(path,d): |