2021-08-20 01:36 AM
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
2021-08-30 02:48 AM
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
2021-09-03 02:49 AM
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.