Files
nixpkgs/pkgs/os-specific/linux/kernel
Maximilian Bosch f47c57802e linux: build hardened kernel with matching releases
Until now we merged kernel updates even if no hardened versions were
available yet. On one hand we don't want to delay patch-level updates,
on the other hand users of hardened kernels have frequent breakage now[1].

This change aims to provide a solution this issue:

* The hardened patchset now references the kernel version it's released
  for (including a sha256 hash for the fixed-output path of the source
  tarball).
* The `hardenedKernelFor`-function doesn't just append hardened patches
  now, but also overrides version & src to match the kernel version the
  patch was built & tested for.

Refs #140281

[1] https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.linuxPackages_hardened.kernel.x86_64-linux/all

(cherry picked from commit bb5aa0109b6db98a2e0a7ba88f5e0287e2374384)
2021-10-28 22:26:22 +02:00
..
2021-10-27 16:07:41 +00:00
2021-10-27 16:07:42 +00:00
2021-10-27 16:07:38 +00:00
2021-10-27 16:07:40 +00:00
2021-10-27 16:07:45 +00:00
2021-10-27 16:07:43 +00:00
2021-10-27 16:07:44 +00:00
2021-07-28 13:50:30 +02:00
2021-07-29 11:55:38 +02:00
2021-08-21 10:04:20 +00:00