On Sat, Apr 14, 2018 at 11:56 AM, Chris Laplante via Openembedded-core <[email protected]> wrote: > I have implemented a simple custom progress handler in > bitbake/lib/bb/progress.py. It’s designed to handle bar-style progress. To > use it for my shell tasks, I have modified “exec_func_shell” in > bitbake/lib/bb/build.py. It’s implemented as a new value for the “progress” > varflag. > > Is there a better, more extensible way to add a custom progress handler that > doesn’t require modifying progress.py and build.py? It would be nice to be > able to specify the name of the progress handler class to use (e.g. via a > [progress-class] varflag) and then have build.py dynamically instantiate it. > Is that possible? If so, would OE be interested in a patch to implement it?
I see no problem in adding it; I am curious about your custom handler as well :-) -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
