RFC: declarative reference to installed kernel(s) and its modules and vmlinuz image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux