[Toaster] [review-request][PATCH] bitbake: toastergui: Consider task name when restarting a build

Damian, Alexandru alexandru.damian at intel.com
Thu May 7 03:33:07 PDT 2015


Taken for submission,

Thank you,
Alex

On Tue, May 5, 2015 at 1:06 PM, Ed Bartosh <ed.bartosh at linux.intel.com>
wrote:

> 'Run again' button now restarts the build using target:task if task
> was specified for the build.
>
> [YOCTO #7442]
>
> Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
> ---
>  bitbake/lib/toaster/toastergui/static/js/projectapp.js | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> b/bitbake/lib/toaster/toastergui/static/js/projectapp.js
> index d52ba73..3625958 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) {
> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>



-- 
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150507/a92dbea4/attachment.html>


More information about the toaster mailing list