Skip to content

functions: support uncompressed modules in find_module_from_symbol

Due to a change in kernel configuration my modules accidentially were uncompressed and I saw the following warning about a missing symbol when building an initramfs with mkinitcpio:

$ mkinitcpio -p linux-mainline
==> Building image from preset: /etc/mkinitcpio.d/linux-mainline.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux-mainline -g /boot/initramfs-linux-mainline.img
==> Starting build: '6.12.0-rc4-1-mainline'
[...]
  -> Running build hook: [kms]
==> WARNING: No module containing the symbol 'drm_privacy_screen_register' found in: 'drivers/platform'
[...]

As this is something that is also discussed for Arch Linux and might be a configuration we might encounter in the wild it makes sense to add support for uncompressed modules to mkinitcpio.

Merge request reports

Loading