nixpkgs/pkgs
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
..
applications signal-desktop: 5.20.0 -> 5.21.0 2021-10-27 18:19:31 +00:00
build-support Merge pull request #138322 from obsidiansystems/fix-build-rust-crate-cross-21.05 2021-10-06 19:20:03 -04:00
common-updater
data Merge pull request #127803 from NixOS/backport-127794-to-release-21.05 2021-08-06 20:27:39 +03:00
desktops xfce.xfce4-notifyd: enable starting the daemon via DBus 2021-10-03 15:32:46 +02:00
development php73: 7.3.29 -> 7.3.32 2021-10-28 12:53:40 +02:00
games multimc: don't re-distribute package 2021-10-27 19:06:27 +00:00
misc canon-cups-ufr2: update url 2021-09-28 21:05:32 +00:00
os-specific linux: build hardened kernel with matching releases 2021-10-28 22:26:22 +02:00
pkgs-lib
servers discourse: 2.7.8 -> 2.7.9 2021-10-28 03:41:51 +00:00
shells
stdenv stdenv/native: fix bintools import 2021-08-31 10:38:39 -07:00
test
tools flameshot: fix desktop Exec path and autostart directory location 2021-10-26 22:37:34 +02:00
top-level linux: build hardened kernel with matching releases 2021-10-28 22:26:22 +02:00