You have to define an additional distribution I'm afraid. It can share almost everything with the existing distro, but set PREFERRED_PROVIDER differently.
Alex On Thu, 17 Nov 2022 at 16:22, Maik Vermeulen <[email protected]> wrote: > Hi, > > Depending on the image that's being built, e.g. development vs. > production, we would like to be able to include different user > passwords and firewall settings. > > We know this can be achieved by just having two different recipes that do > the same thing, but with different variables or included files. However, we > were wondering if there is a neater way? > > We saw this post: > https://www.yoctoproject.org/pipermail/yocto/2018-June/041378.html > which seems to do what we want, because one recipe can install > recipe-development, and the other can install recipe-production, while the > recipe itself can then implement what needs to happen for either. > However, other recipes included in the images can also depend on recipe, > and they shouldn't depend on one specifically. They should accept that > either recipe-development or recipe-production is included. Currently we > see that both the generic recipe and the specific recipe used by the image > are built and overwrite each other. > > What would be a neat way to achieve two variants of a recipe, and having > different contents and settings in them? > Or, can we solve that other included recipes depend on one of the > variants, instead of on the generic one. > > Kind regards, > > Maik Vermeulen > > Embedded Software Engineer — Lightyear <https://www.lightyear.one/> > +31 6 16 82 73 79 <+31616827379> > > [image: > https://lightyear.one/careers?utm_source=signature&utm_campaign=spotlightroles&utm_medium=email#vacancies] > <https://lightyear.one/careers?utm_source=signature&utm_campaign=spotlightroles&utm_medium=email#vacancies> > > > > > Automotive Campus 70 —5708 JZ Helmond, the Netherlands > www.lightyear.one <https://lightyear.one/> > <https://www.linkedin.com/company/lightyear.one/> > > This email may contain information which is privileged and/or > confidential. If you received this e-mail in error, please notify us > immediately by e-mail and delete the email without copying or disclosing > its contents to any other person. Lightyear is a trade name of Atlas > Technologies B.V. and is registered at the Dutch Chamber of Commerce under > number 67264298. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#58587): https://lists.yoctoproject.org/g/yocto/message/58587 Mute This Topic: https://lists.yoctoproject.org/mt/95091628/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
