Update README.md

This commit is contained in:
jiangcuo 2023-04-22 17:18:13 +08:00 committed by GitHub
parent a3d269fda9
commit 7322a3e63c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,29 @@
# Proxmox Edge kernels # Proxmox Edge kernels
Custom Linux kernels for Proxmox VE 7 arm64 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 ## Building manually
You may also choose to manually build one of these kernels yourself. 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 #### Obtaining the source
Obtain the source code as follows: Obtain the source code as follows:
```bash ```bash
git clone https://github.com/jiangcuo/pve-arm64-kernel/ git https://github.com/jiangcuo/pve-arm64-kernel
cd 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 ```bash
git checkout v6.0.x git checkout v6.1
git submodule update --init --depth=1 --recursive linux git submodule update --init --depth=1 --recursive linux
git submodule update --init --recursive git submodule update --init --recursive
``` ```
@ -35,9 +58,9 @@ Before we build, make sure you have installed the build dependencies:
```bash ```bash
sudo mk-build-deps -i 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 ```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: Invoking the following command will build the kernel and its associated packages:
```bash ```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 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. 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 ## Contributing
Questions, suggestions and contributions are welcome and appreciated! Questions, suggestions and contributions are welcome and appreciated!
You can contribute in various meaningful ways: 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. * Propose new patches and flavors for the project.
* Contribute improvements to the documentation. * Contribute improvements to the documentation.
* Provide feedback about how we can improve the project. * Provide feedback about how we can improve the project.