Skip to content

WIP: nongnu: linux-urls: Switch to kernel mirror.

Jonathan Brielmaier requested to merge linux-updater into master

Hi,

I allways wondered why guix refresh linux didn't worked. I found out that the switch to mirror:// fixes this problem as we can use the kernel-org-updater.

Yet there is still an issue with guix refresh not working with our currupt-linux function:

$ GUIX_PACKAGE_PATH=/path/to/nonguix/ guix refresh --key-download=always --update linux
...
/home/jonathan/coding/nonguix/nongnu/packages/linux.scm:44:2: linux: updating from version 5.10.8 to version 5.10.9...
/home/jonathan/coding/nonguix/nongnu/packages/linux.scm:44:2: warning: linux: no `version' field in source; skipping

A workaround is to write the packages explicit as inherits without the corrupt-linux function.

Further issues:

  • this doesn't work for LTS branches as it tries to update then e.g. from 5.4.90 to 5.10.9.
  • guix refresh loads tar.gz and we use tar.xz, we could switch: but xz compressed archives are way smaller (around 60 MiB)

What do you think?

Merge request reports