mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
bitbake: toaster: Switch front end to use Layer get REST API
Switch the front end to use the proper REST API for retrieving layer information. (Bitbake rev: 5ea25c49091f4d4b5007af948e063ed25ba5766f) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ccb36cc549
commit
6f3d33c293
@@ -274,9 +274,13 @@ var libtoaster = (function () {
|
||||
}
|
||||
|
||||
function _addRmLayer(layerObj, add, doneCb){
|
||||
if (layerObj.xhrLayerUrl === undefined){
|
||||
throw("xhrLayerUrl is undefined")
|
||||
}
|
||||
|
||||
if (add === true) {
|
||||
/* If adding get the deps for this layer */
|
||||
libtoaster.getLayerDepsForProject(layerObj.layerdetailurl,
|
||||
libtoaster.getLayerDepsForProject(layerObj.xhrLayerUrl,
|
||||
function (layers) {
|
||||
|
||||
/* got result for dependencies */
|
||||
|
||||
Reference in New Issue
Block a user