summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/utils.py')
-rw-r--r--meta/lib/oe/utils.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index cecddc657f..19db540779 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -304,3 +304,16 @@ def write_ld_so_conf(d):
304 with open(ldsoconf, "w") as f: 304 with open(ldsoconf, "w") as f:
305 f.write(d.getVar("base_libdir", True) + '\n') 305 f.write(d.getVar("base_libdir", True) + '\n')
306 f.write(d.getVar("libdir", True) + '\n') 306 f.write(d.getVar("libdir", True) + '\n')
307
308class ImageQAFailed(bb.build.FuncFailed):
309 def __init__(self, description, name=None, logfile=None):
310 self.description = description
311 self.name = name
312 self.logfile=logfile
313
314 def __str__(self):
315 msg = 'Function failed: %s' % self.name
316 if self.description:
317 msg = msg + ' (%s)' % self.description
318
319 return msg