Reduce the number of build dependencies
This commit is contained in:
parent
53e1806ff3
commit
afe2ba30ae
2 changed files with 13 additions and 21 deletions
17
README.md
17
README.md
|
@ -41,17 +41,18 @@ Make sure you have at least 10GB of free space available and have the following
|
||||||
packages installed:
|
packages installed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
apt install devscripts debuild equivs
|
apt install devscripts debhelper equivs git
|
||||||
```
|
```
|
||||||
In case you are building a kernel version >= 5.8, make sure you have installed
|
In case you are building a kernel version >= 5.8, make sure you have installed
|
||||||
at least [dwarves >= 1.16.0](https://packages.debian.org/bullseye/dwarves).
|
at least [dwarves >= 1.16.0](https://packages.debian.org/bullseye/dwarves).
|
||||||
Unfortunately, this version is currently only available in the Debian Testing
|
This version is currently is not available in the main repository.
|
||||||
and Debian Unstable repositories. To work around this issue, we describe two options:
|
To work around this issue, we describe two options:
|
||||||
|
|
||||||
1. You may add the Debian Testing repository to your APT sources as described
|
1. You may add the Debian Buster Backports repository to your APT sources as described
|
||||||
[here](https://serverfault.com/a/382101) and install the newer `dwarves` package as follows:
|
[here](https://backports.debian.org/Instructions/) and install the
|
||||||
|
newer `dwarves` package as follows:
|
||||||
```shell
|
```shell
|
||||||
apt install -t testing dwarves
|
apt install -t buster-backports dwarves
|
||||||
```
|
```
|
||||||
2. Alternatively, you may [download](https://packages.debian.org/bullseye/dwarves)
|
2. Alternatively, you may [download](https://packages.debian.org/bullseye/dwarves)
|
||||||
the newer `dwarves` (>= 1.16) package from the Debian website and install the
|
the newer `dwarves` (>= 1.16) package from the Debian website and install the
|
||||||
|
@ -81,11 +82,11 @@ debian/rules debian/control
|
||||||
```
|
```
|
||||||
Before we build, make sure you have installed the build dependencies:
|
Before we build, make sure you have installed the build dependencies:
|
||||||
```bash
|
```bash
|
||||||
sudo mk-build-deps --install debian/control
|
sudo mk-build-deps -i
|
||||||
```
|
```
|
||||||
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
|
||||||
debuild --jobs=auto -ePVE* -b -uc -us
|
debuild -ePVE* --jobs=auto -b -uc -us
|
||||||
```
|
```
|
||||||
The Makefile provides several environmental variables to control:
|
The Makefile provides several environmental variables to control:
|
||||||
|
|
||||||
|
|
17
debian/templates/control.in
vendored
17
debian/templates/control.in
vendored
|
@ -2,15 +2,13 @@ Source: pve-kernel
|
||||||
Section: devel
|
Section: devel
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: Fabian Mastenbroek <mail.fabianm@gmail.com>
|
Maintainer: Fabian Mastenbroek <mail.fabianm@gmail.com>
|
||||||
Build-Depends: asciidoc-base,
|
Build-Depends: asciidoc,
|
||||||
automake,
|
automake,
|
||||||
bc,
|
bc,
|
||||||
bison,
|
bison,
|
||||||
cpio,
|
cpio,
|
||||||
debhelper (>= 10~),
|
debhelper (>= 10~),
|
||||||
dh-python,
|
dwarves (>= 1.16),
|
||||||
dwarves,
|
|
||||||
file,
|
|
||||||
flex,
|
flex,
|
||||||
gcc (>= 8.3.0-6),
|
gcc (>= 8.3.0-6),
|
||||||
git,
|
git,
|
||||||
|
@ -19,21 +17,14 @@ Build-Depends: asciidoc-base,
|
||||||
libelf-dev,
|
libelf-dev,
|
||||||
libiberty-dev,
|
libiberty-dev,
|
||||||
libnuma-dev,
|
libnuma-dev,
|
||||||
libpve-common-perl,
|
|
||||||
libslang2-dev,
|
libslang2-dev,
|
||||||
libssl-dev,
|
libssl-dev,
|
||||||
libtool,
|
|
||||||
lintian,
|
|
||||||
lz4,
|
lz4,
|
||||||
perl-modules,
|
|
||||||
python3-minimal,
|
python3-minimal,
|
||||||
|
quilt,
|
||||||
rsync,
|
rsync,
|
||||||
sed,
|
|
||||||
sphinx-common,
|
|
||||||
tar,
|
|
||||||
xmlto,
|
xmlto,
|
||||||
zlib1g-dev,
|
zlib1g-dev
|
||||||
dwarves (>= 1.16)
|
|
||||||
Build-Conflicts: pve-headers-@KVNAME@,
|
Build-Conflicts: pve-headers-@KVNAME@,
|
||||||
Vcs-Git: git://github.com/fabianishere/pve-edge-kernel.git
|
Vcs-Git: git://github.com/fabianishere/pve-edge-kernel.git
|
||||||
Vcs-Browser: https://github.com/fabianishere/pve-edge-kernel
|
Vcs-Browser: https://github.com/fabianishere/pve-edge-kernel
|
||||||
|
|
Loading…
Reference in a new issue