[arch-general] RFC: declarative reference to installed kernel(s) and its modules and vmlinuz image
15 Dec
2021
15 Dec
'21
4:22 p.m.
Currently it's quite complicated to make the reference from an installed kernel package(s) to it's files (the kernel image and modules), except by either invoking `pacman -Qlq linux | grep vmlinuz$` or some heuristics like what mkinitcpio does. So the proposal is that every kernel package should also include a symlink in /var/lib/kernel/<pkgname> to the path in /usr/lib/modules/<kver>/. for ex. currently that would be: /var/lib/kernel/linux -> /usr/lib/modules/5.15.7-arch1-1/ /var/lib/kernel/linux-lts -> /usr/lib/modules/5.10.85-1-lts/ Benefits of this approach would be for tools like mkinitcpio, or sbctl, which can declaratively refer to the kernel modules and the vmlinuz image, by just knowing the package name. -- damjan
1102
Age (days ago)
1102
Last active (days ago)
0 comments
1 participants
participants (1)
-
Damjan Georgievski