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?
More information about the artix-general
mailing list