summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/manual-config.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-05-08 13:08:44 +0000
committerAdam Joseph <adam@westernsemico.com>2023-07-28 15:23:00 -0700
commit468f5b689061e1e8ca54d882a3330d4ba225f295 (patch)
tree01a00365d1b1091dc5e5efd785ebeedd0175f5e5 /pkgs/os-specific/linux/kernel/manual-config.nix
parentb34c60cf8cf6b8207bef5d712ab83df55c97a519 (diff)
downloadnixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar.gz
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar.bz2
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar.lz
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar.xz
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.tar.zst
nixpkgs-468f5b689061e1e8ca54d882a3330d4ba225f295.zip
linuxManualConfig: fix inaccurate FIXME comment
I read this comment, checked out 4.19, saw that it didn't have any
instances of /bin/pwd, and rejoiced, assuming that the removal must
have been backported to the affected kernels.  But actually, /bin/pwd
was just removed earlier, in 4.15, so kernels older than that are
still affected.

Fix the version number in the comment so I don't go through exactly
the same process again a few months from now next time I'm working on
this file.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r--pkgs/os-specific/linux/kernel/manual-config.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix
index 61013ef090a..6b5018ad7e2 100644
--- a/pkgs/os-specific/linux/kernel/manual-config.nix
+++ b/pkgs/os-specific/linux/kernel/manual-config.nix
@@ -119,7 +119,7 @@ let
       postPatch = ''
         sed -i Makefile -e 's|= depmod|= ${buildPackages.kmod}/bin/depmod|'
 
-        # fixup for pre-5.4 kernels using the $(cd $foo && /bin/pwd) pattern
+        # 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