Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangcuo committed Apr 22, 2023
2 parents 27d4779 + 7322a3e commit 3d77a86
Showing 1 changed file with 38 additions and 5 deletions.
43 changes: 38 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand All @@ -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
```
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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.

0 comments on commit 3d77a86

Please sign in to comment.