>>
>> I would prefer not to create a list of every kernel module I wish to include.

>right.. can't you disable these modules in the kernel recipe instead
>using some config fragment?


We would like to use the same kernel .config across multiple images, as all we 
are changing is the removal of the modules, unless you can somehow specify 
which image recipe deletes certain modules in the kernel recipe.


<http://www.multitech.com/>
________________________________
________________________________
From: Nicolas Dechesne <nicolas.deche...@linaro.org>
Sent: Wednesday, January 23, 2019 1:04:48 PM
To: John Klug
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] Exclude kernel module from image

On Wed, Jan 23, 2019 at 7:35 PM John Klug <john.k...@multitech.com> wrote:
>
> I am looking for a way to create an image with an exclusion list of kernel 
> modules packages.
>
> If I use PACKAGE_EXCLUDE, I see the following:
>
>     Collected errors:
>      * calculate_dependencies_for: Cannot satisfy the following dependencies 
> for kernel-modules:
>
> The list of modules that follows are the very kernel module packages I am 
> trying to exclude.

if you want to exclude *all* kernel modules it's simple, you can
achieve that with the following in your image recipe.

BAD_RECOMMENDATIONS = "kernel-modules"

This is easy because kernel-modules comes as RRECOMMENDS from
packagegroup-core-boot.. but if you exclude just some modules, then
you are breaking an RDEPENDS relationship which is a fatal error..

>
> I would prefer not to create a list of every kernel module I wish to include.

right.. can't you disable these modules in the kernel recipe instead
using some config fragment?

>
>
>
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> http://mail2.multitech.com:32224/?dmVyPTEuMDAxJiY0YmM3Zjk1YTkyYTYwMjg3ND01QzQ4QkFERV8xNzcwNl8xNjMxOF8yJiZlYmI5Zjc2MGY3NjAzOTQ9MTMzMyYmdXJsPWh0dHBzJTNBJTJGJTJGbGlzdHMlMkV5b2N0b3Byb2plY3QlMkVvcmclMkZsaXN0aW5mbyUyRnlvY3Rv
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to