kernel: Add test for 4.4

This commit is contained in:
Tim Steinbach 2021-04-07 12:18:34 -04:00 committed by Tim Steinbach
parent 00c364a929
commit 491f0a677b
2 changed files with 4 additions and 1 deletions

View File

@ -25,6 +25,7 @@ let
}));
in
with pkgs; {
linux_4_4 = makeKernelTest "4.4" linuxPackages_4_4;
linux_4_9 = makeKernelTest "4.9" linuxPackages_4_9;
linux_4_14 = makeKernelTest "4.14" linuxPackages_4_14;
linux_4_19 = makeKernelTest "4.19" linuxPackages_4_19;

View File

@ -1,4 +1,4 @@
{ buildPackages, fetchurl, perl, buildLinux, ... } @ args:
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, ... } @ args:
buildLinux (args // rec {
version = "4.4.264";
@ -8,4 +8,6 @@ buildLinux (args // rec {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "1b0d735qnk0bcqn9gdsjqxhk8pkb3597ya9f34lv1vjfaqkkxk7l";
};
kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_4_4 ];
} // (args.argsOverride or {}))