[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753814: update-initramfs produce warnings about missing modules dir, when kernel is built with no modules



Package: initramfs-tools
Version: 0.115

hello!
i'm using self-built monolith kernels with no modules support, built with
kernel-package. on every install/update that triggers update-initramfs, the
latter starts to complain about missing /lib/modules/<version>/*

update-initramfs: Generating /boot/initrd.img-3.14.4-167.14+pf+r4
WARNING: missing /lib/modules/3.14.4-167.14+pf+r4
Device driver support needs thus be built-in linux image!
depmod: ERROR: could not open directory /lib/modules/3.14.4-167.14+pf+r4: No
such file or directory depmod: FATAL: could not search modules: No such file or
directory depmod: WARNING: could not
open /var/tmp/mkinitramfs_TKOtDa/lib/modules/3.14.4-167.14+pf+r4/modules.order:
No such file or directory depmod: WARNING: could not
open /var/tmp/mkinitramfs_TKOtDa/lib/modules/3.14.4-167.14+pf+r4/modules.builtin:
No such file or directory

it doesn't cause any failure, though, initrd's build fine, and update doesn't
break, but it's a bit annoying and may confuse people (especially with those
"fatal" and "error" messages). could you please add some behaviour not to
trigger depmod if we don't see "CONFIG_MODULES=y" in /boot/config-<version>?


Reply to: