* One rpm for all kernel modules
@ 2016-07-14 13:56 Prasant J
2016-07-14 14:25 ` Otavio Salvador
0 siblings, 1 reply; 4+ messages in thread
From: Prasant J @ 2016-07-14 13:56 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi,
I'm building my custom layer for imx6 boards. When the kernel is
built, a lot of rpms are generated: kernel image rpm + kernel module
rpms.
Is it possible to have only 1 rpm for kernel modules (instead of
having an rpm for each module)?
Regards, Pj
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: One rpm for all kernel modules
2016-07-14 13:56 One rpm for all kernel modules Prasant J
@ 2016-07-14 14:25 ` Otavio Salvador
2016-07-14 14:38 ` Gary Thomas
0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2016-07-14 14:25 UTC (permalink / raw)
To: Prasant J; +Cc: meta-freescale@yoctoproject.org
On Thu, Jul 14, 2016 at 10:56 AM, Prasant J <pj0585@gmail.com> wrote:
> I'm building my custom layer for imx6 boards. When the kernel is
> built, a lot of rpms are generated: kernel image rpm + kernel module
> rpms.
>
> Is it possible to have only 1 rpm for kernel modules (instead of
> having an rpm for each module)?
Check the kernel-modules-split class :-)
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: One rpm for all kernel modules
2016-07-14 14:25 ` Otavio Salvador
@ 2016-07-14 14:38 ` Gary Thomas
2016-07-18 12:35 ` Prasant J
0 siblings, 1 reply; 4+ messages in thread
From: Gary Thomas @ 2016-07-14 14:38 UTC (permalink / raw)
To: meta-freescale
On 2016-07-14 16:25, Otavio Salvador wrote:
> On Thu, Jul 14, 2016 at 10:56 AM, Prasant J <pj0585@gmail.com> wrote:
>> I'm building my custom layer for imx6 boards. When the kernel is
>> built, a lot of rpms are generated: kernel image rpm + kernel module
>> rpms.
>>
>> Is it possible to have only 1 rpm for kernel modules (instead of
>> having an rpm for each module)?
>
> Check the kernel-modules-split class :-)
>
What about just kernel-modules? That will include all kernel modules
that are built with the kernel recipe, but not any modules that
are added on later.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: One rpm for all kernel modules
2016-07-14 14:38 ` Gary Thomas
@ 2016-07-18 12:35 ` Prasant J
0 siblings, 0 replies; 4+ messages in thread
From: Prasant J @ 2016-07-18 12:35 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
On Thu, Jul 14, 2016 at 8:08 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2016-07-14 16:25, Otavio Salvador wrote:
>>
>> On Thu, Jul 14, 2016 at 10:56 AM, Prasant J <pj0585@gmail.com> wrote:
>>>
>>> I'm building my custom layer for imx6 boards. When the kernel is
>>> built, a lot of rpms are generated: kernel image rpm + kernel module
>>> rpms.
>>>
>>> Is it possible to have only 1 rpm for kernel modules (instead of
>>> having an rpm for each module)?
>>
>>
>> Check the kernel-modules-split class :-)
>>
>
> What about just kernel-modules? That will include all kernel modules
> that are built with the kernel recipe, but not any modules that
> are added on later.
>
@Otavio: I looked through kernel-modules-split class.
I added PACKAGESPLITFUNC_remove = " split_kernel_module_packages " to
my kernel bbappend recipe. It did not seem to work. (May be I did some
mistake is my recipe)
Is it the correct way to prevent multiple rpms or did you have
something else in mind?
Regards, Pj
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-07-18 12:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14 13:56 One rpm for all kernel modules Prasant J
2016-07-14 14:25 ` Otavio Salvador
2016-07-14 14:38 ` Gary Thomas
2016-07-18 12:35 ` Prasant J
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.