linux-surface/pkg/arch/README.md

30 lines
725 B
Markdown
Raw Normal View History

# Arch Linux PKGBUILDs for Surface Linux
Primarily tested on Arch Linux + Surface Laptop 13" (Intel).
## Instructions
2020-01-10 01:13:54 +00:00
- Building firmware
```
2020-01-10 01:13:54 +00:00
cd surface-ipts-firmware
makepkg -s
2020-01-10 01:13:54 +00:00
sudo pacman -U surface-ipts-firmware*.pkg.tar.*
```
- Building the patched kernel (includes ACPI module)
```
cd kernel
PKGEXT=".pkg.tar" MAKEFLAGS="-j8" makepkg -s --skippgpcheck
sudo pacman -U linux-surface-*.pkg.tar
```
It's based on the Arch kernel tree (with patches curated by Arch developers) and Surface specific patches.
### Advanced users / testers
- Building the ACPI module as a DKMS package (won't work with secure boot):
```
cd surface-aggregator-module
makepkg -s
sudo pacman -U *.pkg.tar.*
```