mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
insane.bbclass: find desktop-file-validate on the path, so it can be added to ASSUME_PROVIDED
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -317,8 +317,7 @@ def package_qa_check_desktop(path, name, d):
|
||||
"""
|
||||
import bb, os
|
||||
if path.endswith(".desktop"):
|
||||
validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True), 'desktop-file-validate')
|
||||
output = os.popen("%s %s" % (validate, path))
|
||||
output = os.popen("desktop-file-validate %s" % path)
|
||||
# This only produces output on errors
|
||||
for l in output:
|
||||
bb.error(l.strip())
|
||||
|
||||
Reference in New Issue
Block a user