From 7322a3e63cbc5452d0eb4aa57e1c52f8223570dc Mon Sep 17 00:00:00 2001 From: jiangcuo <49061187+jiangcuo@users.noreply.github.com> Date: Sat, 22 Apr 2023 17:18:13 +0800 Subject: [PATCH] Update README.md --- README.md | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 2b114eb..87b385d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,29 @@ # Proxmox Edge kernels Custom Linux kernels for Proxmox VE 7 arm64 +#### Available Versions +1. Linux 6.2 ->branch:v6.1 +2. Linux 6.1 ->branch:v6.1 +3. Linux 5.15 ->master + +## Installation +add arm64 kernel repo. + +```sh +echo "deb https://mirrors.apqa.cn/proxmox/ pvearmkernel main" > /etc/apt/sources.list.d/pve-arm64-kernel.list +apt update +apt search pve-kernel +``` + +### Manual +Alternatively, you may manually install the kernels. Select from the [Releases](https://github.com/fabianishere/pve-edge-kernel/releases) +page the kernel version you want to install and download the appropriate Debian package. +Then, you can install the package as follows: + +```sh +apt install ./pve-kernel-VERSION_amd64.deb +``` + ## Building manually You may also choose to manually build one of these kernels yourself. @@ -15,12 +38,12 @@ apt install devscripts debhelper equivs git #### Obtaining the source Obtain the source code as follows: ```bash -git clone https://github.com/jiangcuo/pve-arm64-kernel/ +git https://github.com/jiangcuo/pve-arm64-kernel cd pve-arm64-kernel ``` -Then, select the branch of your likings (e.g. `v6.0.x`) and update the submodules: +Then, select the branch of your likings (e.g. `v6.1`) and update the submodules: ```bash -git checkout v6.0.x +git checkout v6.1 git submodule update --init --depth=1 --recursive linux git submodule update --init --recursive ``` @@ -35,9 +58,9 @@ Before we build, make sure you have installed the build dependencies: ```bash sudo mk-build-deps -i ``` -Create your kernel_conf file,if your kernel config is `/boot/config-5.10.167-edge`,do +merge your confile,if your kernel config is `/boot/config-5.10.167-edge`,do ```bash -cat /boot/config-5.10.167-edge > debian/config/config.pve +cat /boot/config-5.10.167-edge >> debian/config/config.pve ``` Invoking the following command will build the kernel and its associated packages: ```bash @@ -55,6 +78,15 @@ Kernel options may be controlled from [debian/config/config.pve](debian/config/c additional patches, you may add them to the [debian/patches/pve](debian/patches/pve) directory and update the [series](debian/patches/series.linux) file accordingly. +## Removal +Use `apt` to remove individual kernel packages from your system. If you want +to remove all packages from a particular kernel release, use the following +command: + +```bash +apt remove pve-kernel-6.1* pve-headers-6.1* +``` + ## Contributing Questions, suggestions and contributions are welcome and appreciated! You can contribute in various meaningful ways: @@ -63,3 +95,4 @@ You can contribute in various meaningful ways: * Propose new patches and flavors for the project. * Contribute improvements to the documentation. * Provide feedback about how we can improve the project. +