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.
This commit is contained in:
John Kehayias 2024-02-25 15:06:43 -05:00
parent a78155eaee
commit b6d05dbefd
No known key found for this signature in database
GPG key ID: 499097AE5EA815D9

View file

@ -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)