mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-12 03:10:15 +00:00
The image wasn’t autoloading kernel modules even though `KERNEL_MODULE_AUTOLOAD` populated `/etc/modules-load.d/`. In this configuration `/etc/init.d/rcS` only executes runlevel scripts from `/etc/rcS.d` (and `/etc/rc5.d`), and `modutils.sh` was also missing. This change: * Includes the loader by adding `modutils-initscripts` to `CORE_IMAGE_EXTRA_INSTALL`. * Enables SysV init by appending `sysvinit` to `DISTRO_FEATURES`, ensuring the `S*` start links in `/etc/rcS.d` (and `/etc/rc5.d`) call `/etc/init.d/modutils.sh start` during boot. **Result:** entries in `/etc/modules-load.d/*.conf` now load automatically at boot. **Verification** * Before: `lsmod` empty after boot; manual `modprobe` needed. * After: `lsmod` shows target modules; `dmesg` contains module init logs. Signed-off-by: Hugues KAMBA MPIANA <hugues.kambampiana@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>