Skip to content

toaster: custom image enable layer add, protect pre-cloned layers

David Reyna bitbake-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1toaster: custom image enable layer add, protect pre-cloned layerslib/toaster/orm/models.py lib/toaster/toastergui/api.py lib/toaster/toastergui/static/js/libtoaster.js +2 more+23 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

From: David Reyna <[email protected]>

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(-)
Signature · 1 line
1.9.1