[OE-core] [PATCH] sstate: Implement a setscene dependency validation routine to allow skipping of some sstate installation
Otavio Salvador
otavio at ossystems.com.br
Fri Nov 16 16:22:49 UTC 2012
On Fri, Nov 16, 2012 at 2:12 PM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2012-11-16 at 13:58 -0200, Otavio Salvador wrote:
> > On Fri, Nov 16, 2012 at 1:32 PM, Richard Purdie
> > <richard.purdie at linuxfoundation.org> wrote:
> > This is a first attempt at logic to determine when a sstate
> > dependency needs
> > to be installed and when it does not. Its a start at the logic
> > and errs on the
> >
> > s/errs/errors/
>
> It is actually meant to be errs :)
>
> > + # do_package_write_* and do_package doesn't need
> > do_package
> > + if taskdependees[task][1] == "do_package" and
> > taskdependees[dep][1] in ['do_package',
> > 'do_package_write_deb', 'do_package_write_ipk',
> > 'do_package_write_rpm']:
> > + continue
> >
> > I understand why you does this but it would be better if we had a
> > central place to have the do_package_write_$pkg recorded or when
> > adding new type this could be forgotten.
>
> Its a nice idea but I can't see any practical way to do this at the
> moment.
>
We might hava a variable that provide all package backends names? Like:
PACKAGE_BACKENDS = "ipk deb rpm"
?
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20121116/0d09b0e5/attachment-0002.html>
More information about the Openembedded-core
mailing list