summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Kehayias <john.kehayias@protonmail.com>2024-02-25 15:06:43 -0500
committerJohn Kehayias <john.kehayias@protonmail.com>2024-02-25 15:06:43 -0500
commitb6d05dbefd2664aa6706d13ec4f46526a814369f (patch)
tree9b120f0ae776039da7ed8953a38d60c8aab6cac8
parenta78155eaeeb10a66b306634f46b98a39ae0ac2a3 (diff)
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.
-rw-r--r--nongnu/packages/linux.scm1
1 files changed, 1 insertions, 0 deletions
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)