diff options
author | Elliot Smith <elliot.smith@intel.com> | 2016-07-12 15:54:54 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-19 08:56:52 +0100 |
commit | 2db40e377148c862161125a56bb3b9d5d2ed9a7c (patch) | |
tree | 70b5ec7b437a13488061fd5a798a26268790a9d7 /bitbake/lib/toaster/toastergui | |
parent | 1027e0e313c4743a7ddb5e192013fba5d7ad0e1c (diff) | |
download | poky-2db40e377148c862161125a56bb3b9d5d2ed9a7c.tar.gz |
bitbake: toaster: add package manifest path to Target objects
Store the path to the *.rootfs.manifest file for targets which
generate images.
A link to the package manifest is displayed in the build dashboard
for targets which produce image files.
Like the license manifest path, if a target would have produced
the package manifest (but didn't, because it already existed), that
path is copied from the target which did produce the package
manifest.
(Bitbake rev: 79b8e349a0da2ea6b97ad82daa5837e6dfffe0af)
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: bavery <brian.avery@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 6 | ||||
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 32212ea8d4..36c28b7d6a 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -90,6 +90,12 @@ | |||
90 | <dd> | 90 | <dd> |
91 | <a href="{% url 'build_artifact' build.pk 'licensemanifest' target.target.pk %}">License manifest</a> | 91 | <a href="{% url 'build_artifact' build.pk 'licensemanifest' target.target.pk %}">License manifest</a> |
92 | </dd> | 92 | </dd> |
93 | |||
94 | {% if target.target.package_manifest_path %} | ||
95 | <dd> | ||
96 | <a href="{% url 'build_artifact' build.pk 'packagemanifest' target.target.pk %}">Package manifest</a> | ||
97 | </dd> | ||
98 | {% endif %} | ||
93 | </dl> | 99 | </dl> |
94 | 100 | ||
95 | <dl class="dl-horizontal"> | 101 | <dl class="dl-horizontal"> |
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index baaa2883bc..aab6536fa0 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2315,6 +2315,9 @@ if True: | |||
2315 | elif artifact_type == "licensemanifest": | 2315 | elif artifact_type == "licensemanifest": |
2316 | file_name = Target.objects.get(build = build, pk = artifact_id).license_manifest_path | 2316 | file_name = Target.objects.get(build = build, pk = artifact_id).license_manifest_path |
2317 | 2317 | ||
2318 | elif artifact_type == "packagemanifest": | ||
2319 | file_name = Target.objects.get(build = build, pk = artifact_id).package_manifest_path | ||
2320 | |||
2318 | elif artifact_type == "tasklogfile": | 2321 | elif artifact_type == "tasklogfile": |
2319 | file_name = Task.objects.get(build = build, pk = artifact_id).logfile | 2322 | file_name = Task.objects.get(build = build, pk = artifact_id).logfile |
2320 | 2323 | ||