跳转到主要内容

编译内核

简介​

本指南将向您展示如何为 Arch Linux 编译 Fydetab 内核并打包。

设置环境​

安装依赖​

sudo pacman -S base-devel git

克隆 PKGBUILDs 仓库​

git clone https://github.com/Linux-for-Fydetab-Duo/pkgbuilds.git

编译内核​

现在您已经克隆了 PKGBUILDs 仓库,进入 linux-fydetab 目录并运行以下命令以编译内核:

makepkg -s

测试内核​

内核编译完成后,您可以通过运行以下命令安装它:

sudo pacman -U linux-fydetab-*.pkg.tar.zst