Fix for failed builds when using Toaster
cover Fix for failed builds when using Toaster
The following changes since commit 20625df0f88b1948bfc05be0d2cbdaa201c3b2f0:
linux-yocto/3.10: intel BSP configuration updates (2014-04-10 17:33:54 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/toaster-pkgdata
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/toaster-pkgdata
Alexandru DAMIAN (1):
toaster.bbclass: do not fail on non-existent files
meta/classes/toaster.bbclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
1.9.0
PATCH 1/1 toaster.bbclass: do not fail on non-existent files
From: Alexandru DAMIAN <[email protected]>
Toaster may look up inexistent file paths in the build history for packages that have been referenced but not built.
This triggers a failure, and this patch recovers by deleting the reference to the non-built packages.
[YOCTO #6063]
--- meta/classes/toaster.bbclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
meta/classes/toaster.bbclass +9 -1
@@ -273,7 +273,15 @@ python toaster_buildhistory_dump() { for pname in images[target]: if not pname in allpkgs: - allpkgs[pname] = _toaster_load_pkgdatafile("%s/runtime-reverse/" % pkgdata_dir, pname) + try: + pkgdata = _toaster_load_pkgdatafile("%s/runtime-reverse/" % pkgdata_dir, pname) + except IOError as err: + if err.errno == 2: + # We expect this e.g. for RRECOMMENDS that are unsatisfied at runtime + continue + else: + raise + allpkgs[pname] = pkgdata data = { 'pkgdata' : allpkgs, 'imgdata' : images }
Signature · 1 line
1.9.0