Skip to contentSkip to conversation

bitbake: toastergui: Consider task name when restarting a build

PATCH In review Ed Bartosh 2 participants 2 messages May 5, 2015 – May 7, 2015

lore
Share & tools
lore

Ed Bartosh

author
#0 lore raw

PATCH 1/1 bitbake: toastergui: Consider task name when restarting a build

'Run again' button now restarts the build using target:task if task was specified for the build.

[YOCTO #7442]

---
 bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/toaster/toastergui/static/js/projectapp.js +1 -1
index d52ba73..3625958 100644
@@ -357,7 +357,7 @@ projectApp.controller('prjCtrl', function($scope, $modal, $http, $interval, $loc
     };
 
     $scope.buildExistingTarget = function(targets) {
-         $scope.buildTargetList(targets.map(function(v){return v.target;}));
+         $scope.buildTargetList(targets.map(function(v){return ((v.task) ? v.target + ":" + v.task : v.target);}));
     };
 
     $scope.buildTargetList = function(targetlist) {
Signature · 1 line
2.1.4
#1 lore raw

Taken for submission,

Thank you,
Alex

Quoted 36 lines · Ed Bartosh

'Run again' button now restarts the build using target:task if task was specified for the build.

[YOCTO #7442]

---
 bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/toaster/toastergui/static/js/projectapp.js +0 -0
index d52ba73..3625958 100644
@@ -357,7 +357,7 @@ projectApp.controller('prjCtrl', function($scope,

$modal, $http, $interval, $loc

     };

     $scope.buildExistingTarget = function(targets) {
-         $scope.buildTargetList(targets.map(function(v){return
v.target;}));
+         $scope.buildTargetList(targets.map(function(v){return ((v.task)
? v.target + ":" + v.task : v.target);}));
     };

     $scope.buildTargetList = function(targetlist) {

--
2.1.4

--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Signature · 3 lines
Alex Damian
Yocto Project
SSG / OTC