summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/toaster.bbclass10
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/classes/toaster.bbclass b/meta/classes/toaster.bbclass
index d2fa82d730..4244b2ca7f 100644
--- a/meta/classes/toaster.bbclass
+++ b/meta/classes/toaster.bbclass
@@ -288,7 +288,15 @@ python toaster_buildhistory_dump() {
288 288
289 for pname in images[target]: 289 for pname in images[target]:
290 if not pname in allpkgs: 290 if not pname in allpkgs:
291 allpkgs[pname] = _toaster_load_pkgdatafile("%s/runtime-reverse/" % pkgdata_dir, pname) 291 try:
292 pkgdata = _toaster_load_pkgdatafile("%s/runtime-reverse/" % pkgdata_dir, pname)
293 except IOError as err:
294 if err.errno == 2:
295 # We expect this e.g. for RRECOMMENDS that are unsatisfied at runtime
296 continue
297 else:
298 raise
299 allpkgs[pname] = pkgdata
292 300
293 301
294 data = { 'pkgdata' : allpkgs, 'imgdata' : images, 'filedata' : files } 302 data = { 'pkgdata' : allpkgs, 'imgdata' : images, 'filedata' : files }