aarch64 LTS Kernel package for Arch Linux ARM
This repository aims at providing a kernel package for aarch64 that follows the latest LTS branch while staying as close to upstream Arch packaging as possible.
It is maintained as a separate project as pull requests on archlinuxarm/PKGBUILDs have all been ignored.
In order to make use of the kernel package provided by this repository there are three options:
Simply run makepkg
from within this directory on the target device to build
natively.
In builder there is a Dockerfile
and a wrapper script that enable QEMU binfmt
emulation based cross-platform builds using Docker.
The build container itself can be built using
$ docker build --pull -t alarm-builder:latest --platform linux/arm64 builder
after which the package build process can be started using the wrapper script:
$ ./builder/aarch64-makepkg.sh -C -c
This is exactly the way that the pre-built packages are provided as artifacts for this repository (see following section).
In order to include this as a repository add the following block in
pacman.conf
:
[linux-aarch64-lts]
SigLevel = Optional
Server = https://github.com/lynix/linux-aarch64-lts/releases/latest/download
Use at your own risk on other platforms!
Please consider the following differences when migrating from the official linux-aarch64 package:
- file names for kernel and initrd follow upstream Arch packaging, e.g.
/boot/vmlinuz-linux-aarch64-lts
instead of/boot/Image
- no support for ChromeBooks
Pull requests are generally welcome and appreciated.
However I try to keep the number of patches against kernel sources low, so please understand that I won't accept everything (e.g. patches for niche SBCs that are not supported by mainline).