Bug#393688: initramfs-tools: Needs to create /lib/modules/${version} in initramfs in case no modules are required
tags 393688 pending
stop
On Tue, Oct 17, 2006 at 01:20:53PM +0100, Ian Campbell wrote:
>
> If your kernel configuration is such that no modules are required in
> the initramfs then /lib/modules/${version}/ is never created and on boot
> you get some noisy message:
> FATAL: Could not load /lib/modules/${version}/modules.dep: No such file or directory
> (several times)
>
> This can happen if you are using initramfs only to get early udev etc.
>
> I've pasted a simple patch below, with the following changelog entry:
>
> * mkinitramfs: Ensure that /lib/modules/${version} exists. Otherwise
> if no modules are required a warning is issued at boot.
>
> Thanks,
> Ian.
thanks, applied.
--
maks
Reply to: