Commit graph

710 commits

Author SHA1 Message Date
Fabian Mastenbroek
c63bdfa130
Build with default GCC
This change updates the build pipeline to build the kernel with the
default GCC version on Debian Buster. This is more safe for people
running custom kernel modules.
2021-04-19 20:01:06 +02:00
Fabian Mastenbroek
afe2ba30ae
Reduce the number of build dependencies 2021-04-19 19:44:25 +02:00
Fabian Mastenbroek
53e1806ff3
Support cloning submodules without SSH key
This change updates the submodule URL of the ZFS repository to allow
users without a configured SSH key to also clone the repository.
2021-04-19 15:44:35 +02:00
Fabian Mastenbroek
ca42b43d54
Migrate to Github PAT for triggering workflows 2021-04-19 15:17:55 +02:00
Fabian Mastenbroek
72a250dedc
Improve build process
This pull request attempts to improve the build process of the project.
These changes include:

1. Obtain kernel sources from kernel.org as opposed to the Ubuntu Mainline
   repository. The repository from kernel.org is much faster.
2. Build directly in-tree to reduce the amount of copies made
   (and in turn reduce the amount of IO)
3. Disable debug info from the kernel (since it is stripped afterwards and we
   do not provide debug symbols).
4. Build ZFS directly from upstream so that we are not tied to Proxmox's
   release scheme.
5. Derive version from kernel sources and changelog directly
6. Remove custom build profiles to reduce maintaining effort.
2021-04-19 14:47:18 +02:00
Fabian Mastenbroek
e2cd388c2b
Do not build custom build profiles anymore
This change removes the custom build profiles from the CI pipeline.
Previously, this repository offered kernels that were specifically
compiled for a certain microarchitecture.

However, since the effect of such optimizations for the kernel is rather
neglible and due to the increased cost of maintaining several build profiles,
I have decided to stop offering these as pre-builts.
2021-04-19 14:47:02 +02:00
Fabian Mastenbroek
3650d4343a
Support in-tree builds
This change updates the build code to support in-tree builds. This is
easier to manage for CI builds and reduces the amount of IO operations
necessary for the build process.
2021-04-19 14:47:00 +02:00
Fabian Mastenbroek
7d07970695
Move common definitions in separate file 2021-04-19 12:34:45 +02:00
Fabian Mastenbroek
65aa877bb0
Simplify header packaging process
This change simplifies the process for packaging the Linux headers.
Instead of copying the Linux tree and building the headers separately,
this change just installs the headers during the install process only.
2021-04-18 18:09:40 +02:00
Fabian Mastenbroek
d8dafbe5c4
Build ZFS directly from upstream
This change updates the build process to directly build the kernel from
upstream sources, as opposed to requiring the Proxmox zfsonlinux
repository to build the patched sources.
2021-04-18 13:34:08 +02:00
Fabian Mastenbroek
b3d615e84d
Rename package back to pve-kernel
This change renames the package again to pve-kernel. Instead, we now
differentiate the package based on the extra version (which is suffixed
with -edge).
2021-04-18 11:46:33 +02:00
Fabian Mastenbroek
5e900bd9f3
Manage kernel patches with Quilt 2021-04-18 11:24:34 +02:00
subiol
af45a1c255
Clarify build instructions (#77)
This change clarifies the instructions to build a kernel from source.
2021-03-29 21:46:34 +02:00
Fabian Mastenbroek
972a1ef601
Switch to debhelper to orchestrate builds 2021-03-28 21:34:25 +02:00
Fabian Mastenbroek
e4c7b4be97
Move Debian templates to separate directory 2021-03-28 21:24:12 +02:00
Fabian Mastenbroek
4131522dd4
Update Debian copyright file 2021-03-28 21:24:10 +02:00
Fabian Mastenbroek
50a715df41
Move kernel configuration to file
This change moves the kernel build options to a separate file as opposed
to encoding it directly in a file.
2021-03-28 20:47:21 +02:00
Fabian Mastenbroek
ad3bde845f
Use Git bundle from Ubuntu Mainline for better performance
This change updates the build scripts to use the Linux stable repository
as submodule and use a Git bundle provided by Ubuntu mainline crack for
the Ubuntu specific changes.
2021-03-28 20:47:19 +02:00
Fabian Mastenbroek
a19eeb34f1
Infer version information automatically 2021-03-28 20:46:50 +02:00
Fabian Mastenbroek
7d99d922dd
Track Linux mainline on master
This change updates the repository organisation so that we track the
Linux mainline repository on master in this repository, with branches
tracking the stable releases.
2021-03-28 20:46:49 +02:00
Fabian Mastenbroek
032fd5e72c
Move submodules to root directory 2021-03-28 20:46:46 +02:00
Fabian Mastenbroek
6ead8d7e6f
Fix shebang in update scripts
This change fixes the typo in the shebang of the update scripts.
2021-03-15 20:37:34 +01:00
Fabian Mastenbroek
1d84103cd8
Remove ABI and firmware checking scripts
This change removes the ABI and firmware checking scripts from the
repository since they are currently not being used in the pipeline.
2021-03-15 20:37:33 +01:00
Fabian Mastenbroek
04c4556be2
Track Proxmox upstream
This change merges the latest changes from the Proxmox pve-kernel
repository into the master branch.
2021-03-15 18:38:06 +01:00
Thomas Lamprecht
58837dc27b update ABI file for 5.11.0-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 15:43:05 +01:00
Thomas Lamprecht
774eba4be8 update FW list
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 15:42:37 +01:00
Thomas Lamprecht
bf23bcb74e bump version to 5.11.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 13:44:02 +01:00
Thomas Lamprecht
68996764bb d/rules: disable CONFIG_SYSTEM_TRUSTED_KEYS config
we do not use module signing currently.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit 77470417dbd11602d288f7fc473f59d9118a4e61)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 13:44:02 +01:00
Thomas Lamprecht
b9aab0288c ubdate sources and patches to Ubuntu-5.11.0-11.12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 13:34:58 +01:00
Thomas Lamprecht
1deaf0f816 stop reverting turning on nested virtualization by default
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 13:34:34 +01:00
Thomas Lamprecht
0e1345d112 update ZFS to 2.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-02 12:06:05 +01:00
Fabian Mastenbroek
601b62139a
Return only latest version when checking releases 2021-02-24 10:53:13 +01:00
Fabian Mastenbroek
d8b33b61aa
Support Linux versions without patch versions in update 2021-02-18 13:51:07 +01:00
Fabian Mastenbroek
3f2686df8a
Fix packaging for module.lds
This change adds a workaround that includes again module.lds in the
kernel headers, which is necessary for building dynamic kernel modules.

See https://github.com/Mange/rtl8192eu-linux-driver/issues/205#issuecomment-736366347
for more information.

Fixes #48
2021-02-17 15:46:34 +01:00
Fabian Mastenbroek
89c19ff550
Prepare for Linux 5.11
This change prepares the master branch for Linux 5.11, which includes
watching for new stable releases.
2021-02-15 10:47:48 +01:00
Fabian Mastenbroek
987863392a
Prepare branch for Linux 5.10 2021-01-21 22:38:08 +01:00
Fabian Mastenbroek
6c91c1d6a7
Merge pull request #32 from fabianishere/v5.9.x
Finish Linux 5.9 branch
2021-01-21 22:35:15 +01:00
Fabian Mastenbroek
4cdf1eca3f
Finish the Linux 5.9 branch
The Linux 5.9 kernel branch has reached its end-of-life and will not
receive any new update. Therefore, we close of this branch.
2021-01-21 22:33:12 +01:00
Thomas Lamprecht
d11d748b48 update ABI file for 5.10.6-1-pve
(generated with debian/scripts/abi-generate)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
ae9e9fbb4f update firmware list for initial 5.10 kernel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
091f9c3554 bump version to 5.10.6-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
4c5bb10a8b d/scripts: fix find-firmware version regex
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
41cf1104e2 d/control: update build dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
b65123988c base on Ubuntu Hirsute kernel
drop applied patches and update README

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:56 +01:00
Thomas Lamprecht
4a78268a29 update zfsonlinux module
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-15 15:10:45 +01:00
Thomas Lamprecht
d0915bc806 update zfsonlinux submodule to 2.0.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-01-13 14:16:57 +01:00
Stoiko Ivanov
dd717c04b0 add zzstd.ko to zfs install
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-01-13 14:16:31 +01:00
pve-edge-bot[bot]
501d992ea6
Add Linux 5.9.16 (#27)
This change updates the kernel to Linux 5.9.16 based on Ubuntu 5.9-5.9.0-2.3.

Co-authored-by: pve-edge-bot[bot] <pve-edge-bot[bot]@users.noreply.github.com>
2020-12-23 15:52:46 +01:00
pve-edge-bot[bot]
5fda049d9e
Add Linux 5.9.14 (#26)
This change updates the kernel to Linux 5.9.14 based on Ubuntu 5.9-5.9.0-2.3.

Co-authored-by: pve-edge-bot[bot] <pve-edge-bot[bot]@users.noreply.github.com>
2020-12-16 11:55:44 +01:00
pve-edge-bot[bot]
cc720d00d3
Add Linux 5.9.12 (#25)
This change updates the kernel to Linux 5.9.12 based on Ubuntu 5.9-5.9.0-2.3.

Co-authored-by: pve-edge-bot[bot] <pve-edge-bot[bot]@users.noreply.github.com>
2020-12-16 10:29:37 +01:00