On Tue, 28 Jan 2025 at 09:21, Gyorgy Sarvari via lists.yoctoproject.org <skandigraun=gmail....@lists.yoctoproject.org> wrote: > > I see - this will be the source of your problem, your image depends on > this package, but it can't be built due to this license incompatibility.
I need to correct you. The image does not depend on grep, rather util-linux's ptest package does, and in all likelihood that ptest package never gets installed into product image, and so neither does grep. It does not seem realistic to eliminate util-linux from build dependency chains, it is a very core recipe and needed everywhere. The first step to handle gpl3 issues caused by a global license restriction (which prevents gpl3 items from being built at all) is to remove that, and replace it with a per-image restriction, where the check would happen at do_rootfs time. And it is only needed in a product image that actually ships to customers, testing images can have as many gpl3 items in them as needed (for example, gdb). Then if do_rootfs still fails, it becomes much easier to break dependency chains that lead to incompatible packages being installed, e.g. by disabling readline support. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64661): https://lists.yoctoproject.org/g/yocto/message/64661 Mute This Topic: https://lists.yoctoproject.org/mt/110836989/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-