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.
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.
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)
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
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.
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.
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.
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.
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.
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.
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.
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).
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.
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>
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>
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>
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>
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>
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>
This change ignores errors that occur during copying of the kernel
sources. These may appear when another process is working in that
directory concurrently.
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>
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>
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>