Commit graph

821 commits

Author SHA1 Message Date
Fabian Mastenbroek
485fa0c636
Mark v5.11 as end-of-life
This change marks the Linux v5.11 branch as end-of-life since it does
not receive any updates anymore.
2021-05-24 14:05:13 +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
7ef4e4c09a
Clarify build step on generating control file 2021-05-02 21:05:35 +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
8b6ff9e36a
Trigger release on pull request completion
This change updates the release workflow to properly trigger when a pull
request on the appropriate branch is merged.
2021-05-02 15:27:07 +02:00
Fabian Mastenbroek
43407aed66
Update README
This change makes some small fixes to the README.
2021-05-02 14:42:49 +02:00
Fabian Mastenbroek
badadcba8c
Do not prepend 'v' before target Git tag
This change updates an issue with the update script that not the actual
tag was fetched, but that the character 'v' was prepended before the
target Git tag.
2021-05-02 14:38:44 +02:00
Fabian Mastenbroek
fcea73266d
Include libc-dev only once in release 2021-04-22 17:29:05 +02:00
Fabian Mastenbroek
55fcab9f40
Fix update script for new build process
This change updates the update script to support the new build process.
2021-04-22 14:23:57 +02:00
Fabian Mastenbroek
33e4754e26
Load submodules during watch workflow 2021-04-20 21:03:51 +02:00
Fabian Mastenbroek
6700ce5364
Automatically tag and build releases on merge commit
This change updates the release workflow of the repository that can
automatically tag the releases after merging a pull request and build
the artifacts.
2021-04-19 23:14:34 +02:00
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