linux-surface/pkg/arch
2020-01-08 11:38:25 +09:00
..
kernel Use ./scripts/kconfig/merge_config.sh 2020-01-08 11:38:25 +09:00
surface Arch Linux package build files. 2020-01-08 11:38:25 +09:00
surface-aggregator-module Arch Linux package build files. 2020-01-08 11:38:25 +09:00
.gitignore Arch Linux package build files. 2020-01-08 11:38:25 +09:00
README.md Arch Linux package build files. 2020-01-08 11:38:25 +09:00

Arch Linux PKGBUILDs for Surface Linux

Primarily tested on Arch Linux + Surface Laptop 13" (Intel).

Instructions

  • Building firmware & configs

    cd surface
    makepkg -s
    sudo pacman -U surface-firmware*.pkg.tar.* surface-config*.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.*
    
    You will need to blacklist the builtin modules.