There's no way around this: you can't build the same recipe in two
different ways for two different images in the same DISTRO. The
different behavior has to be specified through config files and picked
up at runtime, and not through build time settings. All products and
builds and CI infrastructure for them must be planned with that in
mind.

Different local.conf is essentially a different distro in all but
name, and less understandable or maintainable.

Alex

On Sun, 28 Jan 2024 at 10:01, Jörg Sommer via lists.yoctoproject.org
<joerg.sommer=navimatix...@lists.yoctoproject.org> wrote:
>
> Thanks for your reply. It helps, but I see some issues with the 
> ROOTFS_POSTPROCESS_COMMAND.
>
> For the config file this is a possible solution. But what can I do if I need 
> code changes? SSH announced they'll disable DSA support by default in a few 
> months and for all other images except one I would stay with this default. I 
> have to supply another setting to configure when building the recipe for one 
> image. And I have more images they require reduced (or widened) settings of 
> packages.
>
> And editing the image has the drawback that it doesn't play well with package 
> management. If I install/update the sshd ipk, it doesn't contain the change 
> from ROOTFS_POSTPROCESS_COMMAND.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62314): https://lists.yoctoproject.org/g/yocto/message/62314
Mute This Topic: https://lists.yoctoproject.org/mt/103992605/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to