Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
nixosTests.kernel-generic: fix the eval
|
|
|
|
Without the change the eval fails as:
$ nix build --no-link -f. nixosTests.kernel-generic
error:
error: value is a Boolean while a set was expected
This started happening after 80472e375406bb8f130 "treewide: add
__attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs"
As a result kernel attribute set got not just `kernel => drv` maps but
also `__attrsFailEvaluation => bool` one. It does not contain `name` and
fails the evaluation without recovery.
The change restores evaluation for me.
|
|
|
|
|
|
It's still in kernels-org.json, because even if I remove it the update
script will keep putting it back, but nothing references it, and it'll
be removed from that file when kernels are next updated after it's
been delisted from kernel.org.
linux_testing_bcachefs still needs to be updated for >6.4, so for now
I've just inlined the Linux 6.4 definition in linux_testing_bcachefs's
definition.
|
|
|
|
https://github.com/NixOS/nixpkgs/pull/191540 indirectly broke kernel
passthru.tests; calling the testsForLinuxPackages and testsForKernel functions
with some args intended for some other exposed test-internal function.
Organise the passed-through functions under `passthru` to prevent this from
happening.
|
|
|
|
|
|
|
|
|
|
EOLed by upstream, doesn't receive any patches anymore, so let's drop
it.
Currently depends on #211886 which bumps the latest compatible ZFS
version to 6.1.
Also, clean up some old aliases.
|
|
|
|
The 5.19.x series has reached EOL, and is no longer supported upstream.
|
|
|
|
This is long overdue, the last release was almost a month ago, on 21st
Aug 2022[1].
[1] https://lwn.net/Articles/905532/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5.13.19 was the last 5.13 release and the version is now EOL[1].
[1] https://lwn.net/Articles/869747/
|
|
I guess that this was just forgotten in #136150 and I realized while
running these tests for the latest kernel updates.
|
|
|
|
Changed the name to be clearer, 'makeKernelTest' could imply that it wants a
kernel pkg as its arg while it actually needs a set of linuxPackages.
|
|
|
|
The problem behind this is that the hardened patchset[1]. Quite recently
this led to a weird problem when Linux 5.12 was dropped (and thus had to
be removed from `nixpkgs`), there were no patches for 5.13, so
`linuxPackages_hardened_latest` had to be downgraded to 5.10 as base[2]
which may be rather unintuitive and unexpected.
To avoid these kind of "silent downgrades" in the future, it makes sense
to drop the attribute entirely. If somebody wants to use a hardened
kernel, it's better to explicitly pin it using the newly introduced
versioned attributes, e.g. `linuxPackages_4_14_hardened`.
[1] https://github.com/anthraxx/linux-hardened/
[2] https://github.com/NixOS/nixpkgs/pull/133587
|
|
https://lwn.net/ml/linux-kernel/1626791065147152@kroah.com/
|
|
This is breaking the tarball build, because #128502 depends on this test
existing. After this commit, nixpkgs.tarball once again evaluates.
|
|
The test doesn't evaluate since #125469 because Linux 5.11 got removed
as it's EOL.
As this fixes the evaluation of the test and it only removes a
declaration that was apparently forgotten, I figured that a push to
unbreak the test is fine.
|
|
|
|
Pass the args from kernel-generic.nix's top-level to the individual
tests. Makes `nix-build -A nixosTests.kernel-generic.<attr>` and
`nix-build nixos/tests/kernel-generic.nix -A <attr>` work as expected.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|