[Testing Update] 2020-09-24 - Kernels, Deepin, Gambas, Mesa, Mhwd, Firefox, Python, Haskell

Something is not right with the hook, which copies the kernels to /boot, the names are wrong and subsequently mkinitcpio fails to build initramfs:

(12/26) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.4-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'default'
  -> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.8-x86_64'
Fehler: Befehl konnte nicht korrekt ausgeführt werden
(13/26) Updating Kernel initcpios for Nvidia-DRM...
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
  -> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.4-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux58.preset: 'default'
  -> -k /boot/vmlinuz-5.8-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.8-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.8-x86_64'
Fehler: Befehl konnte nicht korrekt ausgeführt werden
(14/26) Updating Grub-Bootmenu
$ ll /boot/
drwxr-xr-x  7 root root 4,0K 24. Sep 09:05 .
drwxr-xr-x 21 root root 4,0K 21. Mai 13:24 ..
drwxr-xr-x  3 root root  512  1. Jan 1970  efi
drwxr-xr-x  6 root root 4,0K 24. Sep 09:05 grub
-rw-r--r--  1 root root 3,1M 16. Jun 19:50 intel-ucode.img
-rw-r--r--  1 root root   21 23. Sep 16:19 linux54-x86_64.kver
-rw-r--r--  1 root root   21 23. Sep 16:34 linux58-x86_64.kver
-rw-r--r--  1 root root 6,2M 24. Sep 09:05 vmlinuz-linux54
-rw-r--r--  1 root root 6,5M 24. Sep 09:05 vmlinuz-linux58

Renamed them myself:

$ sudo mv /boot/vmlinuz-linux54 /boot/vmlinuz-5.4-x86_64
$ sudo mv /boot/vmlinuz-linux58 /boot/vmlinuz-5.8-x86_64

and afterwards reran:

$ sudo mkinitcpio -P && sudo update-grub

This results in unbootable systems otherwise!

8 Likes