diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index 2ca0bd380e..fbf75466d0 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -548,7 +548,7 @@ class BuildInfoHelper(object): MACHINE_ARCH, error = self.server.runCommand(['getVariable', 'MACHINE_ARCH']) TCLIBC, error = self.server.runCommand(['getVariable', 'TCLIBC']) - BUILDHISTORY_DIR = self.server.runCommand(['getVariable', 'BUILDHISTORY_DIR']) + BUILDHISTORY_DIR, error = self.server.runCommand(['getVariable', 'BUILDHISTORY_DIR']) BUILDHISTORY_DIR_IMAGE = "%s/images/%s/%s/%s" % (BUILDHISTORY_DIR, MACHINE_ARCH, TCLIBC, target.target) self.internal_state['packages'] = {} diff --git a/bitbake/lib/toaster/bldviewer/templates/package.html b/bitbake/lib/toaster/bldviewer/templates/package.html index 642fcab9a1..c22e988e95 100644 --- a/bitbake/lib/toaster/bldviewer/templates/package.html +++ b/bitbake/lib/toaster/bldviewer/templates/package.html @@ -19,12 +19,12 @@ {{package.name}} {{package.version}} {{package.size}} - - {{package.recipe.name}}{{package.package_name}} + {%if package.recipe %} + {{package.recipe.name}}{{package.package_name}}{%endif%} -
- {% for d in package.depends_on %} - {{d.name}}
+
+ {% for d in package.tpackage_dependencies_package.all %} + {{d.depends_on.name}}
{% endfor %}