Skip to main content
PGE
Associate III
August 20, 2021
Question

Kernel modules packages

  • August 20, 2021
  • 2 replies
  • 1371 views

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

This topic has been closed for replies.

2 replies

Olivier GALLIEN
Technical Moderator
August 30, 2021

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
PGEAuthor
Associate III
September 3, 2021

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.