If you want readline 5.2 (which is very old and may cause security issues) because you can't ship gpl version 3 code in a product, then a much better option is to find out what requires readline, and disable that option, so it isn't installed into images. There are also non-gpl alternatives such as libedit.
Alex On Wed, 26 Jul 2023 at 09:56, Khem Raj <[email protected]> wrote: > > On Wed, Jul 26, 2023 at 12:54 AM Priyanshu Sharma > <[email protected]> wrote: > > > > I have two images in same custom layer : A-image.bb & B-image.bb > > > > I want to add readline_5.2.bb in A-image.bb & readline_8.2.bb in > > B-image.bb. How can I achieve this? > > It can not be done at image scope but at config metadata e.g. distro > or machine config. > > > > > Adding PREFERRED_VERSION in local.conf applies to both the image recipes. > > > > Thanks, > > > > > > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60654): https://lists.yoctoproject.org/g/yocto/message/60654 Mute This Topic: https://lists.yoctoproject.org/mt/100366603/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
