On 7 December 2016 at 13:00, Beth 'pidge' Flanagan <[email protected]> wrote:
> I've an odd use case that I wonder if anyone has a work around/way of > doing it. > > I've a client who has contractors who can't have access to a certain > segment of the code base. So for example, a recipe will have a SRC_URI > for the main bit that everyone has access to, but an extra src_uri that > some people won't have access to. > > I want to be able to just ignore any fetch/unpack errors if that extra > src is unfetchable. Thoughts on how to achieve this? > One solution would be to have a global variable I_AM_SPECIAL which the recipes can use: SRC_URI = "http://public.com/tarball.tar.gz ${@oe.types.boolean(d.getVar("I_AM_SPECIAL")) and ' http://private.com/tarball.tar.gz'}" That might work, and also add determinism. Ross
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
