Skip to content

Rewrite and simplify linux kernel packages

podiki requested to merge kernel-rewrite into master

Please test, as I haven't actually done a full build or booted with a kernel made this way just yet. So there may be errors, but I believe it is (mostly?) ready. Maintenance of the kernel from now on will only be needed when variables (kernel major versions) change or are added/dropped. 😸

Commit message below:

nongnu: corrupt-linux: Rewrite to use customize-linux.

This simplifies our linux package definitions to not need hash updates as they simply follow from the inherited part of the source field. The newly added 'customize-linux' procedure from Guix is the preferred way to customize the kernel as well.

  • nongnu/packages/linux.scm (corrupt-linux): No longer take 'version' or 'hash' arguments. Inherit from 'customize-linux' as a starting package. Remove patch for now removed 'build-doc' phase. (linux-6.0, linux-5.15, linux-5.10, linux-5.4, linux4.19, linux-4.14, linux-4.9, linux-arm64-generic-6.0, linux-arm64-generic-5.15): Remove version and hash strings.

Merge request reports