Skip to content
repository

repository

kernel-lts

The kernel-lts unofficial user repository contains pre-compiled LTS kernels using the AUR PKGBUILDs:

These may be useful for people with certain hardware for which support has been dropped from newer kernels, or where functionality has regressed.

Package repository

To add the repository to your Arch system add the following to /etc/pacman.conf:

[kernel-lts]
Server = https://repo.m2x.dev/current/$repo/$arch

Delayed-update distros are not supported.

Package signing

Packages are signed. You will need to import key ID 76C6E477042BFE985CC220BD9C08A255442FAFF0, for example:

sudo pacman-key --keyserver hkps://keyserver.ubuntu.com --recv-key 76C6E477042BFE985CC220BD9C08A255442FAFF0
sudo pacman-key --lsign 76C6E477042BFE985CC220BD9C08A255442FAFF0

initramfs compression

After Arch moved linux-lts to the 5.10 kernel, zstd compression became the default for mkinitcpio from version 30 onwards.

linux-lts54 includes backported zstd support, but older kernels may not support zstd, so make sure to edit your /etc/mkinitcpio.conf and switch to a compression method supported by the kernels you are using. For example, gzip is supported by all kernels.

Update cadence

All repo.m2x.dev repositories have a number of cadences with different frequencies of changes:

  • current (Arch mirror)
  • daily (updated once per day)
  • daily-deferred (yesterday's daily)
  • weekly (updated on Tuesday each week)
  • weekly-deferred (last week's weekly)

If you use the main m2x repo mirror make sure to match the cadences between repositories. Bad things will happen otherwise.