cancel
Showing results for 
Search instead for 
Did you mean: 

Kernel modules packages

PGE
Associate III

I am building softwares for my cutom board based on STM32MP1 using OpenSTLinux. I get lot of kernel-module-* packages installed in the rootfs. I found they are build because fragment-03-systemd.config is added to kernel config if systemd is used.

Can you explain why all theses modules are added and if they are really needed ? Can I simply remove fragment-03-systemd.config or should I edit it ?

Many thanks in advance

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @PGE​ ,

Hard to explain all options set in our default OSTL kernel configuration.

If you can be more specific on one option or another I could eventually elaborate.

Anyway, the provided fragment are there to apply a certain configuration of kernel fitting with our platform and feature we would like to support in the Starter Package.

All validation of our software delivery are made witch such configuration.

You can of course change/tune this setting to match your platform and software in order to define a different tradeoff regarding kernel size, performance etc..

See https://wiki.st.com/stm32mpu/wiki/Menuconfig_or_how_to_configure_kernel

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
PGE
Associate III

Thanks for your reply. The question is specific to fragment-03-systemd.config which is applied only when systemd is selected as init manager.

Following link https://github.com/systemd/systemd/blob/main/README gives some information why some kernel config are required by systemd.