[bitbake-devel] [PATCH 0/1] toaster: custom image enable layer add, protect pre-cloned layers

David Reyna david.reyna at windriver.com
Thu Oct 4 06:10:41 UTC 2018


From: David Reyna <David.Reyna at windriver.com>

Fix for Bug 12887:
* When attempting create a custom image in Toaster for a layer not yet added not cloned, two errors were found.
  1) The "Add layer" button did not do anything, due to a missing data structure, easily fixed
  2) If the layer was newly added but not yet cloned, the custom image create just hung. 
     This was because the problems were reported internally but not to the user. This patch adds
     the error return chain plus the helpful error recovery message to the user.

The following changes since commit bdb49647874e18e7d60374b8973a307551b36a14:

  go.bbclass: Add -buildmode=pie for non mips arch (2018-10-01 13:04:50 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib dreyna/toaster/custom_image_protection_12887
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=dreyna/toaster/custom_image_protection_12887

David Reyna (1):
  toaster: custom image enable layer add, protect pre-cloned layers

 lib/toaster/orm/models.py                                | 4 ++--
 lib/toaster/toastergui/api.py                            | 8 +++++++-
 lib/toaster/toastergui/static/js/libtoaster.js           | 3 ++-
 lib/toaster/toastergui/static/js/newcustomimage_modal.js | 7 +++++++
 lib/toaster/toastergui/templates/customise_btn.html      | 6 +++++-
 5 files changed, 23 insertions(+), 5 deletions(-)

-- 
1.9.1




More information about the bitbake-devel mailing list