On the image level you can only control which packages go into it.
Kernel modules are all split into their own packages, so you can
install (or not) what you want.

Building the same userspace recipe slightly differently for different
images isn't possible. You need to accept that and find some other way
to differentiate between images (e.g. by installing (or not) the
package that the recipe produces to begin with, or by supplying
different runtime configurations).

The alternative is indeed making two (or more) slightly different
distros or slightly different machines, and running separate builds
for them, which greatly increases complexity.

Alex

On Thu, 25 Jan 2024 at 13:18, Aleksandar Nikolic <an...@live.com> wrote:
>
> I thought that could be an issue with multiple machines, thanks for the 
> confirmation.
>
> How am I supposed to decide which kernel config fragments are included in 
> which image though, since they go into SRC_URI? The same problem arises if 
> the same userspace package needs to be built slightly differently for 
> different products
> That's not something I can easily control in the image recipe.
>
> Multiple recipes for multiple products is one way to solve this, but I don't 
> find that as an elegant way of solving this problem.
>
> Aleksandar
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62292): https://lists.yoctoproject.org/g/yocto/message/62292
Mute This Topic: https://lists.yoctoproject.org/mt/103951016/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to