v38: Error messages are shown due to firmware directories not existing
As of commit 6bffbab9, realpath
is used to ensure that firmware directories exist.
However, if they don't exist, realpath
will show an error message:
$ sudo mkinitcpio -P
[ ... ]
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using configuration file: '/etc/mkinitcpio.conf'
-> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
realpath: /usr/lib/firmware/updates: No such file or directory
realpath: /lib/firmware/updates: No such file or directory
==> Starting build: '6.7.8-arch1-1'
[...]
The fix is quite easy, and I'd send a merge/pull request, but it seems I lack permission to push commits even to my own fork.
In any case, I'll attach a patch here, so feel free to use it (or not):
0001-mkinitcpio-invoke-realpath-with-q-and-e.patch
Regards.
Edited by Guilherme