[OE-core] [PATCH] sstate: Implement a setscene dependency validation routine to allow skipping of some sstate installation

Richard Purdie richard.purdie at linuxfoundation.org
Fri Nov 16 16:31:08 UTC 2012


On Fri, 2012-11-16 at 14:22 -0200, Otavio Salvador wrote:
> On Fri, Nov 16, 2012 at 2:12 PM, Richard Purdie 
>         >         +        # 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"

That works for some usages but not where the expressions are in calls to
things like addtask.

I think there are other problems worth spending time on rather that this
which at best will probably cover 50% of the usages.

Cheers,

Richard







More information about the Openembedded-core mailing list