[Toaster] toaster under mac osx.
Damian, Alexandru
alexandru.damian at intel.com
Tue Mar 17 06:29:34 PDT 2015
Cool, thank you !
We also take patches on "toaster at yoctoproject.org" <toaster at yoctoproject.org>,
in CC here.
BTW, I'm on the #iotos channel now.
Alex
On Tue, Mar 17, 2015 at 11:50 AM, Kanevskiy, Alexander <
alexander.kanevskiy at intel.com> wrote:
> Alex, one liner fix :)
>
> diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
> index 7907b57..ceff747 100755
> --- a/bitbake/bin/toaster
> +++ b/bitbake/bin/toaster
> @@ -37,7 +37,7 @@ function webserverKillAll()
> kill -SIGTERM -$(< ${pidfile}) 2>/dev/null
> sleep 1;
> # Kill processes if they are still running - may
> happen in interactive shells
> - ps fux | grep "python.*manage.py runserver" | awk
> '{print $2}' | xargs kill
> + pkill -f "python.*manage.py runserver" -U $UID
> done;
> rm ${pidfile}
> fi
>
>
> or without bash-ism:
>
> diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
> index 7907b57..ceff747 100755
> --- a/bitbake/bin/toaster
> +++ b/bitbake/bin/toaster
> @@ -37,7 +37,7 @@ function webserverKillAll()
> kill -SIGTERM -$(< ${pidfile}) 2>/dev/null
> sleep 1;
> # Kill processes if they are still running - may
> happen in interactive shells
> - ps fux | grep "python.*manage.py runserver" | awk
> '{print $2}' | xargs kill
> + ps ux | grep "python.*manage.py runserver" | awk
> '{print $2}' | xargs kill
> done;
> rm ${pidfile}
> fi
>
>
>
>
> --
> Best regards, Alexander Kanevskiy.
>
>
>
> ---------------------------------------------------------------------
> Intel Finland Oy
> Registered Address: PL 281, 00181 Helsinki
> Business Identity Code: 0357606 - 4
> Domiciled in Helsinki
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>
--
Alex Damian
Yocto Project
SSG / OTC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20150317/830cf3df/attachment-0001.html>
More information about the toaster
mailing list