From b6d05dbefd2664aa6706d13ec4f46526a814369f Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sun, 25 Feb 2024 15:06:43 -0500 Subject: [PATCH] nongnu: corrupt-linux: Pass 'linux' argument to customize-linux. This fixes an issue where corrupt-linux would use the kernel config from the wrong version. The reason is that the package phases in customize-linux come from inheriting the package in the 'linux' keyword argument, defaulting to linux-libre. The kernel configuration comes in the configure phase. Since we did not use this in the customize-linux in corrupt-linux, we would be using the wrong configuration. For example, linux-6.7 would be built with the linux-libre-6.6 kernel config rather than linux-libre-6.7, missing the new CONFIG_BCACHEFS_FS option. Presumably all of our kernels were trying to use the default linux-libre version kernel config rather than the correct one to match their version. This should fix that. * nongnu/packages/linux.scm (corrupt-linux): Use the 'linux' keyword argument in customize-linux. Reported-by: reedm and yelninei on the #nonguix IRC channel. --- nongnu/packages/linux.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index 1d6e6c5..e221bc4 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -118,6 +118,7 @@ some freedo package or an output of package-version procedure." (inherit (customize-linux #:name name + #:linux freedo #:source (origin (method url-fetch) (uri url)