From: Ed Bartosh Date: Tue, 5 May 2015 12:06:28 +0000 (+0300) Subject: bitbake: toastergui: Consider task name when restarting a build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a5193d3c7f1562ea6858c5b992159d79f58f644b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 rev: 420b197227394b341bcc1075bc298ecf2aabec46) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js b/bitbake/lib/toaster/toastergui/static/js/projectapp.js index 43436c5e693..a3309c76af0 100644 --- a/bitbake/lib/toaster/toastergui/static/js/projectapp.js +++ b/bitbake/lib/toaster/toastergui/static/js/projectapp.js @@ -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) {