diff options
| author | Michael Wood <michael.g.wood@intel.com> | 2016-10-05 17:08:49 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-06 11:41:48 +0100 |
| commit | fffce32ebd8712e29cc6f9c4a7a97ce40f9916ee (patch) | |
| tree | 1002ab7e3d391dcc83ee12b8935ca4251cb14750 /bitbake/lib/toaster/toastergui/templates | |
| parent | 8c4091a07c2d71e457d90e191dabbcd46c6fbb42 (diff) | |
| download | poky-fffce32ebd8712e29cc6f9c4a7a97ce40f9916ee.tar.gz | |
bitbake: toaster: api / project Cancel any in progress builds before project delete
Before we finally delete any project make sure we send the cancel command to
any in-progress builds. This ensures that an inaccessible build doesn't block
up the system and that we don't get errors after deletion.
[YOCTO #10289]
(Bitbake rev: 263762a01a6460332ef0cfea5df1e5b81c086df4)
Signed-off-by: Michael Wood <michael.g.wood@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/templates')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/project.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html index 7644dad2f3..5abe241305 100644 --- a/bitbake/lib/toaster/toastergui/templates/project.html +++ b/bitbake/lib/toaster/toastergui/templates/project.html | |||
| @@ -31,12 +31,14 @@ | |||
| 31 | <h4>Are you sure you want to delete this project?</h4> | 31 | <h4>Are you sure you want to delete this project?</h4> |
| 32 | </div> | 32 | </div> |
| 33 | <div class="modal-body"> | 33 | <div class="modal-body"> |
| 34 | <p>Deleting the <strong class="project-name"></strong> project will remove forever:</p> | 34 | <p>Deleting the <strong class="project-name"></strong> project |
| 35 | will:</p> | ||
| 35 | <ul> | 36 | <ul> |
| 36 | <li>Its configuration information</li> | 37 | <li>Cancel its builds currently in progress</li> |
| 37 | <li>Its imported layers</li> | 38 | <li>Remove its configuration information</li> |
| 38 | <li>Its custom images</li> | 39 | <li>Remove its imported layers</li> |
| 39 | <li>All its build information</li> | 40 | <li>Remove its custom images</li> |
| 41 | <li>Remove all its build information</li> | ||
| 40 | </ul> | 42 | </ul> |
| 41 | </div> | 43 | </div> |
| 42 | <div class="modal-footer"> | 44 | <div class="modal-footer"> |
