linux-pinephone 5.11.14-1 package metadata and contents disagree about version
The package metadata has the version number 5.11.14-1
, but the contents have the version number 5.11.13-1
. This leads to confusing output for users in the mkinitcpio hook when installing linux-pinephone-5.11.14-1
:
(4/4) Updating linux-pinephone initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux-pinephone.preset: 'default'
-> -k 5.11.13-1-MANJARO-ARM -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 5.11.13-1-MANJARO-ARM
-> Running build hook: [base]
-> Running build hook: [udev]
-> Running build hook: [autodetect]
-> Running build hook: [modconf]
-> Running build hook: [block]
-> Running build hook: [filesystems]
-> Running build hook: [keyboard]
-> Running build hook: [fsck]
-> Running build hook: [bootsplash-manjaro]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
I initially thought mkinitcpio wasn't using the latest kernel, but as far as I can tell it's not a mkinitcpio problem at all, just a package bug:
manjaro@pinephone:~$ yay -Qi linux-pinephone
Name : linux-pinephone
Version : 5.11.14-1
Description : The Linux Kernel and modules - Aarch64 PinePhone kernel
Architecture : aarch64
URL : https://github.com/megous/linux/releases/tag/orange-pi-5.11-20210412-0042
Licenses : GPL2
Groups : None
Provides : kernel26 linux=5.11.14
Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7 rtl8723bt-firmware-megi ov5640-firmware
Optional Deps : crda: to set the correct wireless channels of your country
Required By : alsa-ucm-pinephone pinephone-modem-scripts
Optional For : base
Conflicts With : linux
Replaces : linux-armv8-rc
Installed Size : 56.86 MiB
Packager : Philip M
Build Date : Wed Apr 14 09:26:47 2021
Install Date : Sat Apr 17 19:15:02 2021
Install Reason : Explicitly installed
Install Script : Yes
Validated By : Signature
manjaro@pinephone:~$ yay -Ql linux-pinephone | fgrep 5.11.
linux-pinephone /usr/lib/modules/5.11.13-1-MANJARO-ARM/
linux-pinephone /usr/lib/modules/5.11.13-1-MANJARO-ARM/build/
linux-pinephone /usr/lib/modules/5.11.13-1-MANJARO-ARM/build/vmlinux
linux-pinephone /usr/lib/modules/5.11.13-1-MANJARO-ARM/extramodules
...