[yocto] [PATCH][auh] upgradehelper: Replace do_checkpkg usage with direct tinfoil calls

2018-12-14 Thread Richard Purdie
The code in distrodata.bbclass related to the do_checkpkg task is rather dated, has holes in it (ignoring some recipes) and has horrible locking and csv related issues. We should use modern APIs such as tinfoil to make the calls we need directly against bitbake, cutting out the middleman and clari

Re: [yocto] [PATCH][auh] upgradehelper: Replace do_checkpkg usage with direct tinfoil calls

2018-12-14 Thread Anibal Limón
LGTM, Anibal On Fri, Dec 14, 2018 at 10:08 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > The code in distrodata.bbclass related to the do_checkpkg task is rather > dated, has holes in it (ignoring some recipes) and has horrible locking > and csv related issues. > > We should u

Re: [yocto] [PATCH][auh] upgradehelper: Replace do_checkpkg usage with direct tinfoil calls

2018-12-14 Thread Alexander Kanavin
On Fri, 14 Dec 2018 at 17:07, Richard Purdie wrote: > +with bb.tinfoil.Tinfoil() as tinfoil: > +tinfoil.prepare(config_only=False) > +recipes = self.recipes > +if not recipes: > +recipes = tinfoil.all_recipe_files(variants=False) > + > +