Commit graph

253 commits

Author SHA1 Message Date
Fabian Mastenbroek
b8de2740ea
Update ZFS patches
This change adds new patches from Proxmox for the ZFS project.
2022-02-04 11:46:40 +01:00
Fabian Mastenbroek
339e99fd87
Add Linux 5.16
This change adds a release for Linux 5.16 for the Proxmox Edge kernels.
2022-01-10 11:16:49 +01:00
Fabian Mastenbroek
fa9f77096c
Include Proxmox patches
This change adds recent patches included in the stock Proxmox kernels.
2022-01-05 22:25:00 +01:00
Fabian Mastenbroek
ed134665cb
Address AppArmor incompatibilities
This change fixes the AppArmor incompatibility issues with the stock
Proxmox kernel. Since the stock kernel includes some patches from
Ubuntu, its AppArmor feature set is incompatible with the one offered by
this project.

We address this by also including these patches in our build, so users
do not need to manually intervene to update the apparmor_parser
configuration.
2022-01-05 22:17:11 +01:00
Fabian Mastenbroek
c70f237530
Update to ZFS 2.1.2
This change updates the ZFS version to 2.1.2 which supports kernels 3.10
to 5.15.
2021-12-29 11:16:47 +01:00
Fabian Mastenbroek
138e5893be
Reduce length of kernel version
This change reduces the length of the kernel version that is set by the
build process. We find that the most recent version is too long for the
kernel and causes certain kernel detection processes to fail.

We also remove the concept of build flavor or build profile. These
concepts should be reflected in the Debian package name and version
instead of separately in the kernel version.
2021-11-28 15:13:01 +01:00
Fabian Mastenbroek
c2ad95159b
Include objtool in header package
This change updates the build script to include objtool in the header
package, which is necessary when building some out-of-tree modules (such as
the NVIDIA driver)
2021-11-21 13:27:00 +01:00
Andrii Moiseiev
35badf1804
Disable UBSAN (#163)
The upstream Ubuntu kernel enables UBSAN on 5.14+ and 5.13.14+ builds, leading
to boot issues on servers depending on the hardware or module configuration.

With hundreds of different kernel modules and thousands different
configuration, this change in its current stage is high risk and questionable
in general.

These issues are impossible to predict and hard to troubleshoot.
Therefore, I believe it is worth disabling for now.

Resolves #164 and #200
2021-11-10 10:15:10 +01:00
Fabian Mastenbroek
9614ffe091
Add Linux 5.15
This change adds a release for Linux 5.15 for the Proxmox Edge kernels.
In addition, this change also includes ZFS 2.1.1 which follows the
upstream Proxmox repository.
2021-11-02 10:07:37 +01:00
Fabian Mastenbroek
04df02380d
Update to ZFS 2.1.1
This change updates the ZFS version to 2.1.1 which supports kernels 3.10
to 5.14.
2021-09-24 11:42:22 +02:00
Fabian Mastenbroek
efb8844e8c
Remove kernel release from kernel version
This change removes the kernel release from the full kernel version.
This is used by Proxmox to identify differences in the kernel ABI.
However, since this project does not track these changes, we remove the
kernel release number altogether.
2021-09-05 11:56:17 +02:00
Fabian Mastenbroek
7bdb828f2f
Add release for Linux 5.14
This change adds the initial release of Linux 5.13 for the Proxmox Edge
kernels.
2021-08-30 10:50:59 +02:00
Fabian Mastenbroek
7e6346ae26
Update to ZFS 2.1.0 2021-08-30 10:50:57 +02:00
Fabian Mastenbroek
2bb89ae564
Build perf tools using Python 3
This change updates the Debian build rules to build the Linux perf tools
using Python 3 as opposed to Python 2.7 that is currently specified in
the rules. Python 2.7 was already dropped from the build requirements,
but this line was not updated in the process.
2021-07-27 17:00:52 +02:00
Fabian Mastenbroek
09b09f0836
Add Linux 5.13 (#125)
This pull request adds the necessary changes for the new Linux release
version 5.13.
2021-06-28 17:57:16 +02:00
Fabian Mastenbroek
77d3d7fcc2
Add release for Linux 5.13
This change adds the initial release of Linux 5.13 for the Promox Edge
kernels.
2021-06-28 17:03:20 +02:00
Fabian Mastenbroek
a68b498de2
Update to ZFS 2.1.0-rc7 2021-06-28 17:03:17 +02:00
Fabian Mastenbroek
5845ba257b
Update to Linux 5.13 2021-06-28 16:40:19 +02:00
Fabian Mastenbroek
6ca487bca9
Add metapackage to track Linux kernel series
This change adds a metapackage that allows users to track the latest
Linux kernel version for a Linux stable branch.
2021-06-13 15:26:45 +02:00
Fabian Mastenbroek
870a62f633
Add Linux 5.12
This change updates the kernel to Linux 5.12 with support from the new
OpenZFS v2.1.0-rc5.
2021-05-24 14:24:46 +02:00
Fabian Mastenbroek
e1a0974313
Include documentation scripts in header package
This change adds the documentation scripts located in Documentation of
the Linux source root to the header package, as they are necessary for
some modules to build.
2021-05-03 10:25:29 +02:00
Fabian Mastenbroek
888e5a6f4d
Include necessary Makefiles in header package
This change adds the necessary Makefiles in the header package.
2021-05-02 15:38:48 +02:00
Fabian Mastenbroek
afe2ba30ae
Reduce the number of build dependencies 2021-04-19 19:44:25 +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
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
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
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
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
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
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
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
Thomas Lamprecht
951e9fcda6 bump version to 5.4.78-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-03 14:26:40 +01:00
pve-edge-bot[bot]
1bee94e99c
Add Linux 5.9.11 (#24)
This change updates the kernel to Linux 5.9.11 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-11-30 15:33:53 +01:00
Thomas Lamprecht
f40acde333 bump version to 5.4.78-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-30 10:58:16 +01:00
Fabian Mastenbroek
b98804b3d6
Merge branch 'master' into v5.9.x 2020-11-23 21:05:27 +01:00
pve-edge-bot[bot]
af06fb75ba
Add Linux 5.9.10 (#23)
This change updates the kernel to Linux 5.9.10 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-11-23 21:02:04 +01:00
Thomas Lamprecht
8af30a16d3 bump version to 5.4.73-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-16 10:55:09 +01:00
Fabian Mastenbroek
f1522b252d
Ignore errors occuring during copy
This change ignores errors that occur during copying of the kernel
sources. These may appear when another process is working in that
directory concurrently.
2020-11-12 19:23:40 +01:00
pve-edge-bot[bot]
b6161439b9
Add Linux 5.9.8 (#21)
This change updates the kernel to Linux 5.9.8 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-11-12 18:05:49 +01:00
pve-edge-bot[bot]
083cde4e42
Add Linux 5.8.18 (#19)
This change updates the kernel to Linux 5.8.18 based on Ubuntu 5.8.0-26.27.

Co-authored-by: fabianishere <fabianishere@users.noreply.github.com>
2020-11-12 15:51:55 +01:00
pve-edge-bot[bot]
19d9550fbc
Add Linux 5.8.13 (#18)
This change updates the kernel to Linux 5.8.13 based on Ubuntu .

Co-authored-by: fabianishere <fabianishere@users.noreply.github.com>
2020-10-05 13:07:48 +02:00
pve-edge-bot[bot]
d22faa64d9
Add Linux 5.8.11 (#17)
This change updates the kernel to Linux 5.8.11 based on Ubuntu 5.8.0-20.21.

Co-authored-by: fabianishere <fabianishere@users.noreply.github.com>
2020-09-24 17:08:36 +02:00
Thomas Lamprecht
12c27d6cf6 bump version to 5.4.65-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-21 15:40:34 +02:00
Fabian Mastenbroek
572baeba8e
Add Linux 5.8.9
This change updates the kernel to Linux 5.8.9 based on Ubuntu 5.8.0-19.20.
2020-09-16 00:23:26 +02:00
Fabian Mastenbroek
5c11233640
Add Linux 5.8.7
This change updates the kernel to Linux 5.8.7 based on Ubuntu-5.8.0-18.19.
2020-09-06 21:32:13 +02:00
Thomas Lamprecht
ceee458b9c bump version to 5.4.60-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-04 10:25:32 +02:00
Fabian Mastenbroek
df61bfafc3
Add Linux 5.8.5
This change updates the kernel to Linux 5.8.5 based on Ubuntu-5.8.0-18.19.
2020-08-31 13:05:38 +02:00
Thomas Lamprecht
055216bb0b bump version to 5.4.60-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-31 10:37:08 +02:00
Fabian Mastenbroek
1e3a67863d
Add Linux 5.8.3
This change updates the kernel to Linux 5.8.3 based on Ubuntu 5.8.0-16.17.
2020-08-24 20:10:34 +02:00
Thomas Lamprecht
86cec553af bump version to 5.4.55-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-08-19 16:30:53 +02:00
Fabian Mastenbroek
3246964009
Add Linux 5.8.1
This change updates the kernel to Linux 5.8.1 based on Ubuntu 5.8.0-14.15
2020-08-13 12:42:05 +02:00
Fabian Mastenbroek
5c0dd50088
Add Linux 5.8
This change updates the kernel to Linux 5.8 based on Ubuntu 5.8.0-12.13
2020-08-09 22:31:15 +02:00
Fabian Mastenbroek
a7c00528f7
Add Linux 5.7.14
This change updates the kernel to Linux 5.7.14 based on Ubuntu 5.7-5.7.0-8.9.
2020-08-09 22:26:25 +02:00
Fabian Mastenbroek
37e0f25363
Release updated version of kernel 5.7.8
This change releases a new version of the Linux kernel 5.7.8 that
unifies the header package for different micro architecture builds.

Fixes #3
2020-08-09 13:45:53 +02:00
Fabian Mastenbroek
0cbf4f257c
Encode micro architecture in version number
This change moves the micro architecture of the package from the package
name to the packae version to prevent issues with the kernel headers.
2020-08-09 13:45:51 +02:00
Fabian Mastenbroek
dcf418425f
Add Linux 5.7.8
This change updates the kernel to Linux 5.7.8 based on Ubuntu 5.7.0-15.16
2020-07-12 17:03:06 +02:00
Fabian Mastenbroek
e362d943e3
Add Linux 5.7.7
This change updates the kernel to Linux 5.7.7 based on Ubuntu 5.7.0-14.15
2020-07-12 17:03:04 +02:00
Fabian Mastenbroek
b4e238a302
Track Ubuntu Mainline repository
This change merges the branch with v5.6.x to track the Ubuntu Mainline
repository which already includes the Ubuntu patches.
2020-07-12 17:01:04 +02:00
Fabian Mastenbroek
e0ab3fe2e3
Add Linux 5.6.19
This change updates the kernel to Linux 5.6.19 based on Ubuntu-5.7.0-10.11.
2020-07-12 14:26:44 +02:00
Fabian Mastenbroek
02f139d5e2
Merge branch 'master' of upstream into v5.6.x 2020-07-07 14:31:57 +02:00
Thomas Lamprecht
082251fdd3 bump version to 5.4.44-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-07-02 07:16:06 +02:00
Fabian Grünbichler
f6d3198e5d fix #2814: config: disable lockdown
since it prevents boot with our current way of building ZFS modules in
case a system is booted with secureboot enabled.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-06-22 14:36:45 +02:00
Fabian Mastenbroek
eaa1e5c154
Add Linux 5.7.2
This change updates the kernel to Linux 5.7.2 based on Ubuntu 5.7.0-6.7
2020-06-14 23:20:06 +02:00
Fabian Grünbichler
ded6b646c4 bump version to 5.4.44-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-06-12 09:47:04 +02:00
Fabian Mastenbroek
de781dc52e
Add Linux 5.7
This change updates the kernel to Linux 5.7 based on Ubuntu 5.7.0-5.6
2020-06-01 20:01:37 +02:00
Thomas Lamprecht
924ae54c14 add pve-kernel-libc-dev headers package
This was long overdue, allows to access the full feature set of our
kernel for some tools using the Linux API directly.

Packaging mostly taken from Debian[0]

[0]: https://salsa.debian.org/kernel-team/linux/-/blob/debian/4.19.118-2/debian/rules.real#L367

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-By: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-05-28 14:07:11 +02:00
Fabian Mastenbroek
8b7db7fd21
Add Linux 5.7-rc7
This change updates the kernel to Linux 5.7-rc7 based on Ubuntu 5.7.0-3.4.
2020-05-27 15:36:19 +02:00
Fabian Mastenbroek
cbbfb46835
Add Linux 5.7-rc6
This change updates the kernel to Linux 5.7-rc6 based on Ubuntu 5.7.0-3.4.
2020-05-27 15:36:19 +02:00
Fabian Mastenbroek
67fc91c6c8
Add Linux 5.6.14
This change updates the kernel to Linux 5.6.14 based on Ubuntu 5.6.0-7.7.
2020-05-21 22:24:24 +02:00
Thomas Lamprecht
ee4a13eac3 d/rules: enable CIFS_SMB_DIRECT
requested by
https://forum.proxmox.com/threads/any-reason-why-cifs_smb_direct-is-disabled-in-pve-kernels-cifs-module.69925/
and as it's now marked as stable I'd say we can enable it

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-19 15:46:27 +02:00
Thomas Lamprecht
27bcf33c13 bump version to 5.4.41-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 15:06:22 +02:00
Thomas Lamprecht
bdeaa74c3a config: make vfio-pci and {x,e,o,u}hci modules
Since 5.4 Ubuntu makes vfio-pci builtin to allow vfio-pci to be bound
to certain devices during boot, preventing other drivers from binding
them. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1770845

Part of why this was done was because it mirrored Arch Linux choice
in the past, but there where some issues and Arch Linux went back to
modules again but this time making xhci_hcd and similar ?hci systems
modules too. Tries to mirror the values used in the current Arch
Linux config [0].

[0]: https://git.archlinux.org/svntogit/packages.git/tree/trunk/config?h=packages/linux&id=96121a8d6468c7067eb3759f6ca5e82f5f914f38

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-13 16:28:05 +02:00
Thomas Lamprecht
80c08de2e4 bump version to 5.4.34-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 10:02:15 +02:00
Thomas Lamprecht
f98cede53d bump version to 5.4.34-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-06 10:35:12 +02:00
Fabian Mastenbroek
49c9bec633
Add Linux 5.6.10 2020-05-02 21:47:44 +02:00
Fabian Mastenbroek
ea9a827473
Add Linux 5.6.8
This change updates the kernel to Linux 5.6.8 based on Ubuntu 5.6.0-7.7.
2020-04-30 18:41:57 +02:00
Fabian Mastenbroek
6c35f07438
Add Linux 5.5.19
This change updates the kernel to Linux 5.5.19 based on Ubuntu 5.5.0-7.8.
2020-04-30 18:21:20 +02:00
Fabian Mastenbroek
277c291e90
Add build variants for multiple micro architectures 2020-04-30 00:14:05 +02:00
Fabian Mastenbroek
2b91eaf97f
Introduce pve-edge-kernel package
This change adds a Debian package for customized Proxmox kernels.
2020-04-28 20:05:57 +02:00
Thomas Lamprecht
8386f638e6 bump version to 5.4.30-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-10 09:12:58 +02:00
Thomas Lamprecht
3378a6b319 bump version to 5.4.27-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-23 15:02:28 +01:00
Thomas Lamprecht
59766fae05 bump version to 5.4.24-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-09 13:00:20 +01:00
Thomas Lamprecht
135fba2e4b bump version to 5.4.22-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-02 17:32:46 +01:00
Thomas Lamprecht
625b5c77e0 switch over to ubuntu focal 20.04 kernel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-03-02 17:32:42 +01:00
Thomas Lamprecht
7ad9f21880 bump version to 5.3.18-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-02-15 15:12:10 +01:00