On Thu, Nov 17, 2016 at 2:28 PM, Andre McCurdy <[email protected]> wrote:
> I have a supplier who provides recipes which set SRC_URI to their > private git servers. To make those same recipes usable by others (ie > me), some anonymous python is used to transform the default SRC_URI > (elements which contain private git URLs are replaced, patches and > other files are left as-is). > > This apparently worked in OE 2.0 but from 2.1 onwards the anonymous > python which modifies SRC_URI races with the anonymous python in > base.bbclass which parses SRC_URI to determine additional > do_fetch/do_unpack dependencies and whether or not to call > fetch2.get_srcrev(). Specifically I get failures because > fetch2.get_srcrev() sees the original SRC_URI and tries to resolve > AUTOREV from a repo to which I don't have access. > You might want to try using a RecipePreFinalise event handler instead, they run before anonymous python functions do. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
