]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: toaster: custom image enable layer add, protect pre-cloned layers
authorDavid Reyna <David.Reyna@windriver.com>
Thu, 4 Oct 2018 06:10:51 +0000 (23:10 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Oct 2018 22:00:24 +0000 (23:00 +0100)
commitfa8ade3695b836fb788c57c0d56b546b47f1603a
tree8f98535c7d73496867c2850012fd3d2cc2dc30fe
parentf0cf4b0972173d5463a31a2543098cee7d6e11c3
bitbake: toaster: custom image enable layer add, protect pre-cloned layers

When creating custom image recipes, the layer add for new layers
needs missing xhrLayerUrl data. Also, code is needed to check
and inform user if the newly added layer has not been cloned yet,
and provide helpful error message instead of the current frozen
dialog.

[YOCTO #12887]

(Bitbake rev: b310031972a53d0881a87a627f07bdcf7d9c6b79)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/toaster/orm/models.py
bitbake/lib/toaster/toastergui/api.py
bitbake/lib/toaster/toastergui/static/js/libtoaster.js
bitbake/lib/toaster/toastergui/static/js/newcustomimage_modal.js
bitbake/lib/toaster/toastergui/templates/customise_btn.html