Hello.
I have noticed that when there is an update on my Raspberry PI4 that affects the kernel, I get this worrying message when the update process generates initramfs-linux.img
WARNING: errors were encountered during the build. The image may not be complete.
I uploaded the complete log here: http://ix.io/4LVm
After this update I correctly rebooted the system, but I don’t think that message is a good thing…
Any idea?
Thanks in advance.
[2023-11-19T20:32:49+0100] [ALPM-SCRIPTLET] ==> WARNING: consolefont: no font found in configuration
[2023-11-19T20:32:49+0100] [ALPM-SCRIPTLET] → Running build hook: [block]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2023-11-19T20:32:51+0100] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2023-11-19T20:32:52+0100] [ALPM-SCRIPTLET] ==> Creating gzip-compressed initcpio image: ‘/boot/initramfs-linux.img’
[2023-11-19T20:32:55+0100] [ALPM-SCRIPTLET] ==> WARNING: errors were encountered during the build. The image may not be complete.
If I am not mistaken, this issue may arise if you have the hook: consolefont in /etc/mkinitcpio.conf and you haven’t explicitly set it in /etc/vconsole.conf.
I guess you would need either remove the said hook from /etc/mkinicpio.conf (the HOOK= … ) or set it in the other file mentioned above.
Ok, thank you, I removed consolefont from the HOOK line in /etc/mkinitcpio.conf.
Anyway, this is strange: I have never modified either /etc/mkinitcpio.conf or /etc/vconsole.conf.
To reproduce the problem I re-run the update of the same packages (and also because my knowledge is not very deep and I wouldn’t know how to do the build of initramfs and be sure not to do any damage… by the way, how do you do it?).
Anyway, the situation is still the same: the message on consolefont is gone, but the pacman output is this: http://ix.io/4LVA
and it contains the same warning.
Other kernels: zen, lts, linux - are not affected.
Debug info with -v switch does not bring anything meaningful. I made sure to install mkinitcpio-firmware, so at this point I do not get any other warnings. But original one is still present.
FYI: Removing consolefont hook does not solve it and thread you posted says about different error. We are discussing WARNING: errors were encountered during the build. The image may not be complete.