bitbake: toastergui: Consider task name when restarting a build
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]
Signed-off-by Ed Bartosh <[email protected]>
--- 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
@@ -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
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]
Signed-off-by Ed Bartosh <[email protected]>--- 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@@ -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