项目作者: ratijas

项目描述 :
Symlink latest kernel version in /usr/lib/modules
高级语言: Shell
项目地址: git://github.com/ratijas/symlink-latest-kernel.git
创建时间: 2020-12-11T01:55:11Z
项目社区:https://github.com/ratijas/symlink-latest-kernel

开源协议:GNU General Public License v2.0

下载


Symlink latest kernel

Symlinks latest available kernel to /usr/lib/modules/latest.

This is a utility package for Arch Linux. It looks for all installed kernels in /usr/lib/modules, sorts by version, and symlinks most recent one as latest. Leverages pacman hooks to get the job done.

Why?

Because some things should remain constant in this ever changing world. For example, browser URLs to kernel’s documentation pages. Arch Linux is a fast-moving target, so I quickly got tired of having to manually fix URLs across all affected tabs after each system upgrade.

Somehow, kernel.org website provides /latest/ endpoint. So why wouldn’t you enjoy the same on your local machine?

file:///usr/lib/modules/latest/build/Documentation/index.html

(Due to GitHub and/or browser restrictions, the link above may render as plain text instead of clickable link.)

Install

Install the symlink-latest-kernelAUR package.