[artix-general] mkinitcpio warning about modules.builtin.modinfo

epektasis rptnix at amerytel.net
Wed Jul 6 03:29:13 CEST 2022


On Tue, Jul 05, 2022 at 05:12:17PM -0500, epektasis wrote:
> Greetings.  I have been building my own kernels for some time on Artix but
> today mkinitcpio produced a repeatable error message, after building the hooks
> and displayed "generating module dependencies:"
> 
> depmod: WARNING: could not open modules.builtin.modinfo at
> /tmp/mkinitcpio.<randomized>/root/lib/modules/<kernel version>:
> no such file or directory
> 
> but the process continued and announced that image generation was successful
> and, indeed, the generated image was where it was directed to be.
> 
> It was the root user who ran the mkinitcpio -k <kernel version> -g <file>
> command, so there should not have been a permissions issue in /tmp/.
> 
> The same warning message displayed on four different kernels, including
> two from kernel.org and the "stock" Artix linux-lts kernel.  The warning
> message displayed using various kernel config files, including my own, the
> Artix linux-lts one, and even with the make defconfig option.
> 
> The make modules_install command was run after mrproper, make
> {localmod,old,def}config, and make; then the resulting bzImage was copied to
> /boot (this is a BIOS system) and then mkinitcpio was run.  The module files
> were in /lib/modules/<kernel version>.
> 
> The machine rebooted fine.  Apparently the warning message is an empty threat?
> 
> 
I saw that mkinitcpio 31-3 just came through on the updates and the warning
message did not show when it ran.  Guess the above was limited to 31-2.  Sorry
for the noise.
	e.



More information about the artix-general mailing list