Skip to content

Commit

Permalink
linux: remove hack for old kernels
Browse files Browse the repository at this point in the history
The oldest kernel supported in Nixpkgs is now 4.19 LTS, so we don't
need this any more.
  • Loading branch information
alyssais committed Oct 21, 2023
1 parent b15687d commit 96fe81f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkgs/os-specific/linux/kernel/manual-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,6 @@ let
# Ensure that depmod gets resolved through PATH
sed -i Makefile -e 's|= /sbin/depmod|= depmod|'
# fixup for pre-4.15 kernels using the $(cd $foo && /bin/pwd) pattern
# FIXME: remove when no longer needed
substituteInPlace Makefile tools/scripts/Makefile.include --replace /bin/pwd pwd
# Don't include a (random) NT_GNU_BUILD_ID, to make the build more deterministic.
# This way kernels can be bit-by-bit reproducible depending on settings
# (e.g. MODULE_SIG and SECURITY_LOCKDOWN_LSM need to be disabled).
Expand Down

0 comments on commit 96fe81f

Please sign in to comment.